
public static interface JNIThreadProxy.Interruptable
| Modifier and Type | Method and Description |
|---|---|
boolean |
postInterruptCheck(boolean interruptStatus)
Called AFTER native code calls
Thread.interrupted() and allows
the caller to override the returned value if desired. |
boolean |
preInterruptCheck()
Called BEFORE native code calls
Thread.interrupted(). |
boolean preInterruptCheck()
Thread.interrupted().
Please note that this method can be called from any thread and it is the responsibility of the caller to ensure it is thread safe.
Thread.interrupted(). false to stop
processing now (and tell callers the thread is NOT interrupted).boolean postInterruptCheck(boolean interruptStatus)
Thread.interrupted() and allows
the caller to override the returned value if desired.interruptStatus - The value returned by Thread.interrupted() on the current threadCopyright © 2018 Humble Software. All rights reserved.