Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/misc/
DResource.java96 boolean isInterrupted = Thread.interrupted(); in getBytes()
104 isInterrupted = true; in getBytes()
127 isInterrupted = true; in getBytes()
145 isInterrupted = true; in getBytes()
148 if (isInterrupted) { in getBytes()
/libcore/jsr166-tests/src/test/java/jsr166/
DLockSupportTest.java196 } while (! Thread.currentThread().isInterrupted()); in testParkBeforeInterrupt()
234 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt()
236 assertTrue(Thread.currentThread().isInterrupted()); in testParkAfterInterrupt()
308 } while (! Thread.currentThread().isInterrupted()); in testGetBlocker()
DRecursiveActionTest.java270 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
280 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
293 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
306 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
316 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
325 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
372 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
380 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
391 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
404 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterruptsOutsideForkJoinPool()
[all …]
DPhaserTest.java524 assertTrue(Thread.currentThread().isInterrupted());
551 assertFalse(Thread.currentThread().isInterrupted());
581 assertTrue(Thread.currentThread().isInterrupted());
605 assertFalse(Thread.currentThread().isInterrupted());
DForkJoinPool8Test.java281 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
291 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
304 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
317 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
327 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
336 assertTrue(myself.isInterrupted()); in testJoinIgnoresInterrupts()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExchanger.java395 else if (!t.isInterrupted() && m == 0 && in arenaExchange()
454 if (t.isInterrupted()) // preserve interrupt status so caller can recheck in slotExchange()
497 else if (!t.isInterrupted() && arena == null && in slotExchange()
507 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange()
DThreadPoolExecutor.java669 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted()
807 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers()
1156 !wt.isInterrupted()) in runWorker()
DSynchronousQueue.java442 if (w.isInterrupted()) in awaitFulfill()
743 if (w.isInterrupted()) in awaitFulfill()
DLinkedTransferQueue.java707 else if (w.isInterrupted() || (timed && nanos <= 0L)) { in awaitMatch()
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAbstractInterruptibleChannel.java173 if (me.isInterrupted()) in begin()
DAbstractSelector.java218 if (me.isInterrupted()) in begin()
/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()
570 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted()
583 .isInterrupted()); in test_isInterrupted()
586 .isInterrupted()); in test_isInterrupted()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java62 assertTrue(Thread.currentThread().isInterrupted()); in testInterrupted()
DFileIOInterruptTest.java697 assertFalse(Thread.currentThread().isInterrupted()); in waitToDie()
710 assertFalse(Thread.currentThread().isInterrupted()); in delay()
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java90 assertFalse(Thread.currentThread().isInterrupted()); in testThreadInterrupted()
/libcore/ojluni/src/main/java/java/lang/
DThread.java965 public native boolean isInterrupted(); in isInterrupted() method in Thread