libpthread patch
Daniel Eischen
eischen at pcnet1.pcnet.com
Fri Apr 18 15:53:57 PDT 2003
On Sat, 19 Apr 2003, Alex Semenyaka wrote:
> On Wed, Apr 16, 2003 at 01:09:46PM -0400, Daniel Eischen wrote:
> > Found it! The library's version of sigaction was not allowing
> > a signal handler for SIGCHLD to be installed; it was leftover
> > from libc_r.
>
> By the way, in this connection could somebody check my follow-up to
> the PR bin/48856? I suggested a really small fix (3 lines in total)
> to the current implementation of the signal(). With the current one
> the call of signal(SIGCHLD, SIG_IGN) still allows zombie to be born.
> There are to places to fix actually, one is the standard libc and
> second is the pthreads (that's why I am sending this message to
> -threads as well). If that fix is bad somehow I would gladly receive
> any explanations. Thanks!
I don't think you can always set SA_NOCLDWAIT because it could
screw up wait() in programs that don't set SA_NOCLDWAIT.
--
Dan Eischen
More information about the freebsd-threads
mailing list