ProcessManager on Solaris

Eric Botcazou ebotcazou@libertysurf.fr
Wed Feb 16 00:40:00 GMT 2005


> It should be pretty trival to fix boehm-gc to block SIGCHLD. Basically
> you should just need to copy the pthread_sigmask() code from
> block_sigchld in posix-threads.cc into GC_pthread_create in
> solaris_pthreads.c. I think it would be fine to make that change in
> order to fix this problem, so please submit a patch.

Indeed, if I'm allowed to directly patch Boehm GC, the fix is trivial.  
Attached, tested on SPARC64/Solaris 9.


2005-02-16  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* solaris_threads.c (GC_thr_daemon): Block SIGCHLD.


-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boehm_solaris_sigchld.diff
Type: text/x-diff
Size: 741 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20050216/bb47ae54/attachment.bin>


More information about the Java-patches mailing list