libpthread patch
Alex Semenyaka
alexs at ratmir.ru
Fri Apr 18 16:34:17 PDT 2003
On Sat, Apr 19, 2003 at 03:08:19AM +0400, Alex Semenyaka wrote:
> But are there programs which call signal(SIGCHLD, SIG_IGN) and then trying
> to wait()? I supposed that there are no such: suggested behaviour of signal()
By the way... I just thought that it might be reasonable to allow user to
choose that behaviour on the fly (like he can do it for the malloc(3)).
Do anyone have the objections against this way? If there are no ones, I
can do the patch that allows to signal() OPTIONALLY set SA_NOCLDWAIT flag
if the environment variable (say, NOCHLD_NOWAIT) is set.
Thanks again :)
SY, Alex
More information about the freebsd-threads
mailing list