Searched defs:interruptAction (Results 1 - 1 of 1) sorted by relevance

/libcore/libart/src/main/java/java/lang/
H A DThread.java875 public final void pushInterruptAction$(Runnable interruptAction) { argument
877 interruptActions.add(interruptAction);
880 if (interruptAction != null && isInterrupted()) {
881 interruptAction.run();
886 * Removes {@code interruptAction} so it is not invoked upon interruption.
888 * @param interruptAction the pushed action, used to check that the call
893 public final void popInterruptAction$(Runnable interruptAction) { argument
896 if (interruptAction != removed) {
897 throw new IllegalArgumentException("Expected " + interruptAction + " but was " + removed);

Completed in 25 milliseconds