Re: SCO: "thread creation is about a thousand times faster than on

From: Andi Kleen (ak@suse.de)
Date: Thu Aug 24 2000 - 13:14:17 EST


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/



This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:13 EST