Currently libgcj assumes it can waitpid(-1,...). This interacts poorly with other libraries which may want to interact with subprocesses; for instance glib has an API for spawning and waiting for children, and frysk has to work around this problem (by disallowing the use of Process).
libgcj ought to have a way to hook into the low-level process code so that it can interact gracefully with other libraries. I think it is ok if this is CNI only. -- Summary: add wait handling hook Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29324