[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Failure to kill pid
- From: "Christopher T. Lansdown" <lansdoct screech cs alfred edu>
- To: John Hawk <john hawk gte net>
- cc: "GTK+ App Developer's Mailing List." <gtk-app-devel-list redhat com>
- Subject: Re: Failure to kill pid
- Date: Mon, 30 Aug 1999 14:26:30 -0400 (EDT)
John,
When a child is killed, the parent must wait() on the child before
the child is cleared from the process table. IIRC the easiest way to do
this is to install a signal handler for SIGCHLD and then have it call
wait(). This should clear out any zombies created.
-Chris
--
lansdoct@cs.alfred.edu
"If I had had more time I would have not written you at all." - Pascal
Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
Linux - Get there. Today.
Evil Overlord Quote of the Day:
12. One of my advisors will be an average five-year-old child. Any flaws in
my plan that he is able to spot will be corrected before implementation.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]