Add a sentence clarifying that even though the default disposition

of SIGCHLD is "ignore", explicitly setting the disposition to
SIG_IGN results in different treatment of zombies.
This commit is contained in:
Michael Kerrisk 2008-04-07 21:09:02 +00:00
parent cfe4a25a9d
commit 0e464c2f72
1 changed files with 6 additions and 1 deletions

View File

@ -449,7 +449,12 @@ set to
.B SIGCHLD
to
.B SIG_IGN
unspecified.)
unspecified.
Note that even though the default disposition of
.B SIGCHLD
is "ignore", explicitly setting the disposition to
.B SIG_IGN
results in different treatment of zombie process children.)
Linux 2.6 conforms to this specification.
However, Linux 2.4 (and earlier) does not:
if a