threads+CNI+SIGINT

Tom Tromey tromey@cygnus.com
Mon Mar 27 08:47:00 GMT 2000


>> 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




More information about the Java mailing list