[lkml]   [2000]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: SCO: "thread creation is about a thousand times faster than on
On Thu, Aug 24, 2000 at 08:14:17PM +0200, Andi Kleen wrote:
> 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.

Right: so clone with the PARENT flag set. What's the problem?

Victor Yodaiken
Finite State Machine Labs: The RTLinux Company.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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