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


 \ /
  Last update: 2005-03-22 13:39    [W:0.056 / U:3.992 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site