Capture SIGINT in Java
Posted
by Begui
on Stack Overflow
See other posts from Stack Overflow
or by Begui
Published on 2010-03-29T21:42:14Z
Indexed on
2010/03/29
23:13 UTC
Read the original article
Hit count: 338
java
What is the best way to capture a kill signal in java without using JNI. I did discover the sun.misc.Signal and the sun.misc.SignalHandler and the warning of the possibility of being removed in the future releases.
Would using JNI to call a c lib be the only option i have?
© Stack Overflow or respective owner