[27] in Pthreads mailing list archive

home help back first fref pref prev next nref lref last post

No subject found in mail header

daemon@ATHENA.MIT.EDU (Rich Salz)
Mon Jun 26 14:56:43 1995

From: Rich Salz <rsalz@osf.org>
Date: Mon, 26 Jun 1995 13:56:10 -0400
To: scd@broked.org, pthreads@MIT.EDU

> which shows that the parent is being sent a signal (11366 is the parents pid)
> of SIGCHLD and this is killing the child.

I think you've got it backwards.  The child is getting killed/exiting, and
the parent is getting sent SIGCHLD so it knows to do a wait() for it.

BTW, handling fork (as opposed to fork/exec) is a hard problem for many
threads packages, and some of them disallow it.  I don't know what rules
Chris has specified...
	/r$


home help back first fref pref prev next nref lref last post