PATCH: waitpid in natPosixProcess.cc

Tom Tromey tromey@redhat.com
Wed Apr 21 17:38:00 GMT 2004


>>>>> "Casey" == Casey Marshall <csm@gnu.org> writes:

Casey> Also: shouldn't there be a finalize method in this class, that
Casey> destroys and waits on the process?

Actually Process is explicitly defined otherwise:

    The subprocess is not killed when there are no more references to the
    Process object, but rather the subprocess continues executing
    asynchronously.

See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11801
This has some suggestions for what to do; nothing very pleasant though.

Tom



More information about the Java-patches mailing list