(Illustration by Gaich Muramatsu)
On Thu, Jun 05, 2003 at 08:49:49AM -0700, Phil Nelson wrote: > What fun! I actually found an interesting solution, a double fork.... Basically fork a child, and then have that fork and exit. The parent reaps the first zombie, but as the second child doesn't have a parent anymore it will be caught by init. It has a little bit more overhead, but we only do this once during startup anyways and can stop worrying about zombies or trying to deal with the different semantics on various systems. http://www.faqs.org/faqs/unix-faq/faq/part3/section-13.html JanReceived on 2003-06-05 12:18:31