Messages in this thread | | | From | cd_smith@ou ... | Date | Fri, 16 Jul 1999 09:14:49 -0500 (CDT) | Subject | Re: 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/
| |