PR libgcj/29324 * include/posix-threads.h (_Jv_BlockSigchld): Declare. (_Jv_UnBlockSigchld): Same. * posix-threads.cc: Include posix-threads.h. (block_sigchld) Rename to... (_Jv_BlockSigchld) ... this. (_Jv_UnBlockSigchld): New function. (_Jv_InitThreads): Call _Jv_BlockSigchld in place of block_sigchld. (_Jv_ThreadStart): Same. * java/lang/PosixProcess$ProcessManager.h: Regenerate. * java/lang/PosixProcess.java: Clean up imports. (ProcessManager): Make final. (ProcessManager.queue): Genericise and make private. (ProcessManager.pidToProcess): Remove. (ProcessManager.liveProcesses): New field. (ProcessManager.reaperPID): Remove. (ProcessManager.nativeData): New field. (ProcessManager.removeProcessFromMap): Remove. (ProcessManager.addProcessToMap):Remove. (ProcessManager.addToLiveProcesses): New method. (ProcessManager.run): Rewritten. (ProcessManager.reap): Change method signature, (getErrorStream): Correct formatting. (getInputStream): Same. (spawn): Add process to liveProcesses list. (pid): Make package private. * java/lang/PosixProcess.h: Regenerate. * java/lang/natPosixProcess.cc: Include posix.h and posix-threads.h. Add useing namespace java::lang. (ProcessManagerInternal): New struct. (sigchld_handler): Rewritten. (init): Rewritten. (waitForSignal): Same. (reap): Same. (signalReaper): Same. (nativeDestroy): Call kill as ::kill. (nativeSpawn): Correct formatting. * classpath/lib/java/lang/PosixProcess$EOFInputStream.class: Regenerate. * classpath/lib/java/lang/PosixProcess.class: Same. * classpath/lib/java/lang/PosixProcess$ProcessManager.class: Same. From-SVN: r124638
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| classpath | Loading commit data... | |
| gcj | Loading commit data... | |
| gnu | Loading commit data... | |
| include | Loading commit data... | |
| java | Loading commit data... | |
| javax | Loading commit data... | |
| libltdl | Loading commit data... | |
| org | Loading commit data... | |
| scripts | Loading commit data... | |
| sun | Loading commit data... | |
| sysdep | Loading commit data... | |
| testsuite | Loading commit data... | |
| COPYING | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| ChangeLog-1998 | Loading commit data... | |
| ChangeLog-1999 | Loading commit data... | |
| ChangeLog-2000 | Loading commit data... | |
| ChangeLog-2001 | Loading commit data... | |
| ChangeLog-2002 | Loading commit data... | |
| ChangeLog-2003 | Loading commit data... | |
| ChangeLog-2004 | Loading commit data... | |
| ChangeLog-2005 | Loading commit data... | |
| ChangeLog-2006 | Loading commit data... | |
| HACKING | Loading commit data... | |
| LIBGCJ_LICENSE | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| NEWS | Loading commit data... | |
| README | Loading commit data... | |
| THANKS | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| addr2name.awk | Loading commit data... | |
| boehm.cc | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| configure.host | Loading commit data... | |
| darwin.cc | Loading commit data... | |
| defineclass.cc | Loading commit data... | |
| exception.cc | Loading commit data... | |
| gij.cc | Loading commit data... | |
| headers.txt | Loading commit data... | |
| interpret-run.cc | Loading commit data... | |
| interpret.cc | Loading commit data... | |
| jni-libjvm.cc | Loading commit data... | |
| jni.cc | Loading commit data... | |
| jvmti.cc | Loading commit data... | |
| libgcj-test.spec.in | Loading commit data... | |
| libgcj.pc.in | Loading commit data... | |
| libgcj.spec.in | Loading commit data... | |
| libgcj.ver | Loading commit data... | |
| libgcj_bc.c | Loading commit data... | |
| libtool-version | Loading commit data... | |
| link.cc | Loading commit data... | |
| mauve-libgcj | Loading commit data... | |
| mingwld.m4 | Loading commit data... | |
| no-threads.cc | Loading commit data... | |
| nogc.cc | Loading commit data... | |
| pkg.m4 | Loading commit data... | |
| posix-threads.cc | Loading commit data... | |
| posix.cc | Loading commit data... | |
| prims.cc | Loading commit data... | |
| shlibpath.m4 | Loading commit data... | |
| sources.am | Loading commit data... | |
| stacktrace.cc | Loading commit data... | |
| standard.omit.in | Loading commit data... | |
| verify.cc | Loading commit data... | |
| win32-threads.cc | Loading commit data... | |
| win32.cc | Loading commit data... |