[lkml]   [2000]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: thread group comments
On Fri, Sep 01, 2000 at 05:50:04PM -0700, Ulrich Drepper wrote:
> "Andi Kleen" <> 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.

The first goal would be to get it out of the critical path of pthread_create.

I think Linus proposed to add a settid() system call later to generate
a new thread id, when that one is there then you could use that tid and
remove it completely.

Do you think the SA_NOCLDWAIT/queued exit signal approach makes sense ?

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.103 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site