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. www.fsmlabs.com www.rtlinux.com- 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