threads+CNI+SIGINT
Jeff Sturm
jsturm@sigma6.com
Sun Mar 26 08:04:00 GMT 2000
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
More information about the Java
mailing list