Home
last modified time | relevance | path

Searched refs:isInterrupted (Results 1 – 14 of 14) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DLockSupportTest.java190 } while (! Thread.currentThread().isInterrupted()); in testParkBeforeInterrupt()
228 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt()
230 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt()
302 } while (! Thread.currentThread().isInterrupted()); in testGetBlocker()
DRecursiveActionTest.java272 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
282 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
295 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
308 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
318 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
327 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
374 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
382 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
393 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
406 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
[all …]
DPhaserTest.java524 assertTrue(Thread.currentThread().isInterrupted());
551 assertFalse(Thread.currentThread().isInterrupted());
581 assertTrue(Thread.currentThread().isInterrupted());
583 assertTrue(Thread.currentThread().isInterrupted());
605 assertFalse(Thread.currentThread().isInterrupted());
608 assertTrue(Thread.currentThread().isInterrupted());
/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java368 else if (!t.isInterrupted() && m == 0 && in arenaExchange()
427 if (t.isInterrupted()) // preserve interrupt status so caller can recheck in slotExchange()
470 else if (!t.isInterrupted() && arena == null && in slotExchange()
480 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange()
DThreadPoolExecutor.java621 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted()
758 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers()
1107 !wt.isInterrupted()) in runWorker()
DSynchronousQueue.java411 if (w.isInterrupted()) in awaitFulfill()
715 if (w.isInterrupted()) in awaitFulfill()
DLinkedTransferQueue.java680 if ((w.isInterrupted() || (timed && nanos <= 0)) && in awaitMatch()
DForkJoinPool.java2244 if (!wt.isInterrupted()) { in tryTerminate()
/libcore/luni/src/test/java/tests/support/
DThreadPool.java97 while (!isInterrupted()) { in run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java86 while (!Thread.currentThread().isInterrupted()) { in run()
565 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted()
578 .isInterrupted()); in test_isInterrupted()
581 .isInterrupted()); in test_isInterrupted()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java79 assertFalse(Thread.currentThread().isInterrupted()); in testThreadInterrupted()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java79 assertTrue(Thread.currentThread().isInterrupted()); in testInterrupted()
DFileIOInterruptTest.java689 assertFalse(Thread.currentThread().isInterrupted()); in waitToDie()
702 assertFalse(Thread.currentThread().isInterrupted()); in delay()
/libcore/libart/src/main/java/java/lang/
DThread.java709 public native boolean isInterrupted(); in isInterrupted() method in Thread
880 if (interruptAction != null && isInterrupted()) { in pushInterruptAction$()