System V and SIGCLD

Karl Kleinpaste karl at osu-eddie.UUCP
Tue May 13 01:00:09 AEST 1986


In article <283 at enmasse.UUCP> keith at enmasse.UUCP (Keith Crews) writes:
>The signal is raised again because the child still exists.  To do what you
>want you have to do a wait in the signal handler before resetting the signal.
>This explaination is due to a fellow employee - any errors in conveying it
>are no doubt due to me.  In my system V manual there is a discussion of
>what happens to SIGCLD while the signal catcher is executing, but it
>does not seem to imply this behavior.

Yes, it does imply that behavior.  Not having a manual in front of me
this instant, I can't quote directly; but I distinctly recall that the
description includes the comment that the handler will be continually
re-entered until all the dead children have been cleaned up.
-- 
Karl Kleinpaste



More information about the Comp.unix.wizards mailing list