This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Bug with popen/pthread_create
On Thu, Feb 06, 2003 at 01:58:22PM -0500, Neal H. Walfield wrote:
> > This does not matter. This is no real world program, this is a short
> > example which triggers the bug. That's everything.
>
> No, fix your buggy program: pthread_wait for threads who have not
> finished before returning from main or calling exit. That's
> everything.
You're wrong. There is a bug in linuxthreads in the
vfork () before first pthread_create
\- child doing exec
pthread_create in parent
sequence, I have a fix for IA-32 only ATM, will need to hack up the rest
of arches.
Jakub