[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk
Subject: [gtk-list] Re: Defunct processes after fork/_exit
From: Conrad Steenberg <conrad () srl ! caltech ! edu>
Date: 1999-07-16 14:27:50
[Download RAW message or body]
On Fri, 16 Jul 1999 robert_gasch@peoplesoft.com wrote:
> I've written some code that forks and does some useful
> work in the child process. While the child process is executing,
> everything is fine, but once it terminates and calls _exit(0) the
> process listing shows it as being defunct:
>...
>
> Any idea what I might be doing wrong to cause this?
You have to wait() or waitpid() on the child. Then it will be removed from
the process list.
Cheers
Conrad
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic