Re: Threads question

Alan Cox (
Sat, 26 Apr 1997 01:05:08 +0100 (BST)

> Threading is good, use the kernel facilities, and don't over do it.
> People who think they need thousands of threads really don't, they
> just need to heavily rethink their design.

One problem is that the entire world needs to go back to early 1970's
or previous and look up the world CO-ROUTINE. The coroutine scheme doesn't
do parallel execution but is a nice very small and very clean way to express
a lot of the things people misuse threads for. Threads have their place
in parallel execution. They do not have a place as shortcuts to context
and state management issues.