[3196] in java-interest
Re: Signal
daemon@ATHENA.MIT.EDU (Thomas Ball)
Thu Nov 2 21:24:20 1995
Date: Thu, 2 Nov 1995 14:46:01 -0800
From: Thomas.Ball@Eng.Sun.COM (Thomas Ball)
To: motohiro@nwk.cl.nec.co.jp
Cc: java-interest@java.Eng.Sun.COM
> * I want to catch the signal issued by system (OS). Possible?
Not directly from Java, and very ugly to do from C native code. The
easy part is writing the signal handler in C, but the signal stack isn't
set up to allow calling back into the Java interpreter. The only hack I
can come up with is to have a Java thread call a native method, written
so it doesn't return until the signal is caught.
Tom Ball
Java Products Group
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com