This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: threads+CNI+SIGINT
- To: osk at hem dot passagen dot se
- Subject: Re: threads+CNI+SIGINT
- From: Jeff Sturm <jsturm at sigma6 dot com>
- Date: Sun, 26 Mar 2000 11:10:30 -0500
- CC: java-discuss at sourceware dot cygnus dot com
- References: <20000326103510.A10029@strix.eductussyd.se>
Oskar Liljeblad wrote:
> Don't GCJ-compiled programs have some SIGINT handler? If so, why isn't
> it installed in the main thread? If not, how is GC cleanup/finalization
> done?
Actually no GC cleanup is needed (the runFinalizersOnExit method is
deprecated; I don't recall whether libgcj even implements it). SIGINT
handling is necessary on Linux to ensure that all threads terminate, I
believe. With other thread packages it may not be needed at all.
--
Jeff Sturm
jsturm@sigma6.com