User: Password:
|
|
Subscribe / Log in / New account

Concurrency-managed workqueues

Concurrency-managed workqueues

Posted Oct 8, 2009 23:50 UTC (Thu) by giraffedata (subscriber, #1954)
Parent article: Concurrency-managed workqueues

I don't understand why there has to be a pool of threads. Why not just make a new thread for each task and let the CPU scheduler do its job?


(Log in to post comments)

Concurrency-managed workqueues

Posted Oct 9, 2009 19:35 UTC (Fri) by MisterIO (guest, #36192) [Link]

In theory a thread pool should be an easier tool to manage than threads, because it usually doesn't need all the direct management that a "single-thread-per-task" would require. In the end though, it all depends on the implementation.


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds