|
Loading...
|
java-dev@lists.apple.com
[Prev] Thread [Next] | [Prev] Date [Next]
Interrupt thread + JNI method call Leonid Bogdanov Thu Aug 04 08:00:49 2011
Hello! I have a code which is executed via SwingWorker and its most time consuming part is a call of a JNI native method (some Scripting Bridge stuff). When execution of SwingWorker is interrupted with a call to SwingWorker.cancel(true) method, native code keeps running further until its completion. So my question is how to interrupt execution of the native part? Can I receive something similar to InterruptedException in the native code or is there any variable which value can indicate is calling thread alive or not? Thank you!
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list ([EMAIL PROTECTED]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/alexiscircle%40gmail.com This email sent to [EMAIL PROTECTED]
- Interrupt thread + JNI method call Leonid Bogdanov 2011/08/04 <=
- Re: Interrupt thread + JNI method call Jamison Hope 2011/08/04
- Re[2]: Interrupt thread + JNI method call Leonid Bogdanov 2011/08/12
- Re: Interrupt thread + JNI method call Mike Swingler 2011/08/04