Re: thread group comments

From: Ulrich Drepper (drepper@redhat.com)
Date: Fri Sep 01 2000 - 19:50:04 EST


"Andi Kleen" <ak@suse.de> 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.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.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 Sep 07 2000 - 21:00:12 EST