This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/11801] Problems with Process.waitFor() and exitValue()
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Sep 2003 19:10:31 -0000
- Subject: [Bug libgcj/11801] Problems with Process.waitFor() and exitValue()
- References: <20030805050422.11801.bryce@mckinlay.net.nz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801
------- Additional Comments From tromey at gcc dot gnu dot org 2003-09-28 19:10 -------
I recently discovered that if your program does not call
waitFor() on a process, it will remain as a zombie.
This is predictable, of course, since only waitFor() calls wait
to reap the child. However, this is a difference from the
JDK, and thus arguably a bug.
I'm not too concerned about LinuxThreads problems; the world
is moving to NPTL...