Date: Fri, 18 Apr 2003 18:53:54 -0400 (EDT) From: Daniel Eischen <eischen@pcnet1.pcnet.com> To: Alex Semenyaka <alexs@ratmir.ru> Cc: freebsd-threads@freebsd.org Subject: Re: libpthread patch Message-ID: <Pine.GSO.4.10.10304181851120.5006-100000@pcnet1.pcnet.com> In-Reply-To: <20030418224522.GA63339@snark.ratmir.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10304181851120.5006-100000>