Home
last modified time | relevance | path

Searched refs:isInterrupted (Results 1 – 20 of 20) 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.java396 else if (!t.isInterrupted() && m == 0 && in arenaExchange()
455 if (t.isInterrupted()) // preserve interrupt status so caller can recheck in slotExchange()
498 else if (!t.isInterrupted() && arena == null && in slotExchange()
508 v = timed && ns <= 0L && !t.isInterrupted() ? TIMED_OUT : null; in slotExchange()
DThreadPoolExecutor.java674 if (getState() >= 0 && (t = thread) != null && !t.isInterrupted()) { in interruptIfStarted()
812 if (!t.isInterrupted() && w.tryLock()) { in interruptIdleWorkers()
1161 !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()
571 while (!Thread.currentThread().isInterrupted()) in test_isInterrupted()
584 .isInterrupted()); in test_isInterrupted()
587 .isInterrupted()); in test_isInterrupted()
/libcore/ojluni/annotations/mmodule/java/lang/
DThread.annotated.java80 public native boolean isInterrupted(); in isInterrupted() method in Thread
/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/ojluni/annotations/sdk/nullability/java/lang/
DThread.annotated.java78 public native boolean isInterrupted(); in isInterrupted() method in Thread
/libcore/ojluni/annotations/hiddenapi/java/lang/
DThread.java161 public native boolean isInterrupted(); in isInterrupted() method in Thread
/libcore/luni/src/test/java/libcore/java/lang/
DThreadTest.java98 assertFalse(Thread.currentThread().isInterrupted()); in testThreadInterrupted()
/libcore/ojluni/src/main/java/java/lang/
DThread.java1116 public native boolean isInterrupted(); in isInterrupted() method in Thread