This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: threads+CNI+SIGINT
- To: Oskar Liljeblad <osk at hem dot passagen dot se>
- Subject: Re: threads+CNI+SIGINT
- From: Tom Tromey <tromey at cygnus dot com>
- Date: Mon, 27 Mar 2000 08:47:20 -0800 (PST)
- Cc: jsturm at sigma6 dot com, java-discuss at sourceware dot cygnus dot com
- References: <20000327175019.A10593@strix.eductussyd.se>
>> 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.
Oskar> How do you deal with objects that override the finalize method,
Oskar> needing special finalization?
Finalization works.
However, relying on it at shutdown time is probably a mistake.
Tom