lkml.org 
[lkml]   [1997]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Threads question
Date
> 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.

Alan


\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans