|Newer page:||version 5||Last edited on Monday, November 24, 2003 11:27:35 am||by AlastairPorter|
|Older page:||version 4||Last edited on Tuesday, November 18, 2003 4:13:24 pm||by JohnMcPherson||Revert|
@@ -5,4 +5,6 @@
Two ways to avoid creating Zombies (other than calling one of the wait() functions) include:
# handling the [SIGCHLD] signal (see that page for example code)
# fork(2) and then get the child to fork(2) again and then exit immediately, so that you've created a grandchild rather than a child.