On 1 Sep 2000, Ulrich Drepper wrote:
> "Andi Kleen" <[EMAIL PROTECTED]> writes:
>
> > I've been thinking about how to best get rid of the thread manager for
> > thread creation in LinuxThreads. It is currently needed to do the wait.
>
> If you get rid of the manager thread (the +1 thread) then you have
> another problem: you cannot send a signal explicitly to this thread
> (to implement pthread_kill). The PID of this initial thread is now
> used as the PID of the thread group.
Well, that can be solved by having a separate "threadkill()" system call.
But I'd much rather just have the "n+1" thing. The overhead is basically
nonexistent, and it simplifies so many things.
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/