lkml.org 
[lkml]   [1999]   [Jul]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
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 <cd_smith@ou.edu>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site