[lkml]   [1999]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: linux-kernel-digest V1 #4149
On Fri, 16 Jul 1999, Khimenko Victor wrote:
> They are related, but not "related enough" ! It's exactly why LinuxThreads are
> so slow :-(( `Any thread in the process can do the equivalent of waitpid for
> any other thread in the process. Linux doesn't allow that; you can only wait
> for a task that you yourself spawned (unless you are init). The workaround is
> to make all the threads children of the "manager". It waits for them and
> passes back exit statuses to the threads calling pthread_join.'

Somehow I doubt that an extra IPC every time a thread exits is "the
reason" that LinuxThreads are slow... Have any data to back that up? It
is a kludge, but it doesn't really hurt anything too much.

Chris Smith <>

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 13:53    [W:0.050 / U:2.164 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site