This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH][RFA] Reap children on stack trace generation.
- From: Tom Tromey <tromey at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: 09 Jul 2004 11:00:27 -0600
- Subject: Re: [PATCH][RFA] Reap children on stack trace generation.
- References: <40EA537F.5080005@avtrex.com>
- Reply-to: tromey at redhat dot com
>>>>> "David" == David Daney <ddaney@avtrex.com> writes:
David> natPosixProcess.cc has a related problem. First it forks, but if the
David> exec fails, the child is not reaped.
If the exec fails, do we really need the kill()?
Otherwise this is looking good. But also see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801
The thing is, even with this patch we need a fix for the case where
the user just expects the process to be GCd and reaped without an
explicit waitFor call.
Tom