Subject: Re: fork(2) vs. pthread_create()
To: Matthias Scheler <tron@zhadum.de>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-userlevel
Date: 06/08/2004 13:01:38
On Tue, 8 Jun 2004, Matthias Scheler wrote:
> I found out today that NetBSD's "libpthread" doesn't like it when an
> application uses pthread_create(), fork() and finally pthread_create()
> in the child process. It aborts the program in this function in
> "src/lib/libpthread/pthread_sa.c":
...
> Opinions?

No opinion but a pointer - I think Vahalia Uresh* discusses different
semantics of thread implementations WRT behaviour of threads when a fork()
is done.

* = Vahalia Uresh: Unix Internals: The New Frontiers


 - Hubert

-- 
                         ,,_
If wishes were wings,  o"   )~  would fly.            -- Go www.NetBSD.org!
                        ''''