gcc/libjava/classpath/lib
David Daney 8c0dbf3490 re PR libgcj/29324 (add wait handling hook)
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
2007-05-12 17:37:55 +00:00
..
gnu Jdwp.class: Regenerate. 2007-05-07 20:48:01 +00:00
java re PR libgcj/29324 (add wait handling hook) 2007-05-12 17:37:55 +00:00
javax 2007-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org> 2007-04-16 14:50:03 +00:00
jazzlib Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
org TaggedComponentHelper.java (read): Use read_octet_array(), not read(). 2007-04-16 13:48:26 +00:00
sun AnnotationInvocationHandler.java: Generify in a few places. 2007-03-02 19:05:57 +00:00
.cvsignore Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
copy-vmresources.sh.in Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
gen-classlist.sh.in Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Makefile.am Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Makefile.gcj Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
Makefile.in configure.ac: New configure option --enable-generated-files-in-srcdir. 2007-03-19 05:57:53 +00:00
mkcollections.pl.in Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00
mkdep.pl.in Merged gcj-eclipse branch to trunk. 2007-01-09 19:58:05 +00:00
split-for-gcj.sh
standard.omit.in Imported GNU Classpath 0.92 2006-08-14 23:12:35 +00:00