forking and zombies in SYSV.
Doug Stailey
dstailey at gnu.ai.mit.edu
Tue Aug 21 13:31:27 AEST 1990
In article <1990Aug20.133107.12516 at lth.se> jh at efd.lth.se (Joergen Haegg) writes:
>A question about how to fork() in SYSV.
>
>I want to fork, and the parentprocess should continue without
>doing a wait().
>When the child exits, it is transformed into a zombieprocess.
>The zombie exists until the parent exits.
>This is as it should be according to SVID.
>
>How do I avoid getting this zombie?
>
Try signal(SIGCHLD, SIG_IGN) to avoid generating zombies.
More information about the Comp.unix.wizards
mailing list