In defense of thousands of threads
Posted Aug 19, 2002 11:21 UTC (Mon) by
shane (subscriber, #3335)
In reply to:
In defense of thousands of threads by bhurt
Parent article:
Making Linux safe for pthreads
IBM is currently working on the Next-Generation POSIX Threads effort, which seems to combine the best of both worlds. It creates multiple kernel threads (by default based on the number of CPU's), but not one per user thread. In this way, the kernel doesn't waste time multitasking thousands of kernel threads, but not all threads block if one is busy hogging the context in a computation loop, for instance.
Check out the home page:
http://www-124.ibm.com/pthreads/
BTW, it's based on GNU Pth.
(
Log in to post comments)