lkml.org 
[lkml]   [2000]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: SCO: "thread creation is about a thousand times faster than on
On Thu, Aug 24, 2000 at 09:11:48PM +0200, Alon Ziv wrote:
> Even better: it's even possible to 'cheat' and make _all_ threads be owned
> by the LinuxThreads 'manager' thread (basically, this is done by making the
> initial thread into the manager and switching its computation to some other
> thread). Which means--- just the one special thread in the whole mishmash.

That still has the problem that you have to context switch to the
manager thread for creating new threads, causing horrible latency.

You really want pthread_create() to call clone() directly, without
playing any pipe tricks.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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