/libcore/luni/src/test/java/tests/support/ |
D | ThreadPool.java | 24 private boolean isAlive; field in ThreadPool 36 isAlive = true; in ThreadPool() 45 if (!isAlive) { in runTask() 56 if (!isAlive) { in getTask() 66 if (isAlive) { in close() 67 isAlive = false; in close() 75 isAlive = false; in join()
|
/libcore/ojluni/src/main/java/java/io/ |
D | PipedReader.java | 175 } else if (readSide != null && !readSide.isAlive()) { in receive() 181 if ((readSide != null) && !readSide.isAlive()) { in receive() 242 } else if (writeSide != null && !writeSide.isAlive() in read() 254 if ((writeSide != null) && (!writeSide.isAlive()) && (--trials < 0)) { in read() 301 } else if (writeSide != null && !writeSide.isAlive() in read() 347 } else if (writeSide != null && !writeSide.isAlive() in ready()
|
D | PipedInputStream.java | 264 } else if (readSide != null && !readSide.isAlive()) { in checkStateForReceive() 313 } else if (writeSide != null && !writeSide.isAlive() in read() 325 if ((writeSide != null) && (!writeSide.isAlive()) && (--trials < 0)) { in read()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 443 while (t.isAlive()) in test_getThreadGroup() 528 assertFalse("A thread that wasn't started is alive.", st.isAlive()); in test_isAlive() 536 assertTrue("Started thread returned false", st.isAlive()); in test_isAlive() 542 assertTrue("Stopped thread returned true", !st.isAlive()); in test_isAlive() 605 assertTrue("Thread is alive", !st.isAlive()); in test_join() 614 assertTrue("Joined thread is still alive", !st.isAlive()); in test_join() 636 assertTrue("Thread is alive", !st.isAlive()); in test_joinJ() 645 assertTrue("Join failed to timeout", st.isAlive()); in test_joinJ() 659 assertTrue("Joined thread is still alive", !st.isAlive()); in test_joinJ() 699 assertTrue("Thread is alive", !st.isAlive()); in test_joinJI() [all …]
|
D | ProcessTest.java | 160 assertTrue(process.isAlive()); in test_isAlive() 163 assertFalse(process.isAlive()); in test_isAlive() 170 assertTrue(process.isAlive()); in test_waitForTimeout() 172 assertTrue(process.isAlive()); in test_waitForTimeout() 175 assertFalse(process.isAlive()); in test_waitForTimeout()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1158 public final boolean isAlive() { in isAlive() method in Thread 1245 if (isAlive()) { in setPriority() 1286 if (isAlive()) { in setName() 1425 while (isAlive()) { in join() 1429 while (isAlive()) { in join() 1539 if (isAlive()) { in setDaemon() 2233 if (isAlive() || !isDaemon()) { in setSystemDaemon()
|
D | Process.java | 257 public boolean isAlive() { in isAlive() method in Process
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | PipedWriterTest.java | 363 while (readThread.isAlive()) { in test_write_I_MultiThread() 368 while (writeThread.isAlive()) { in test_write_I_MultiThread() 427 while (readThread.isAlive()) { in test_write_$CII_MultiThread() 432 while (writeThread.isAlive()) { in test_write_$CII_MultiThread()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicMarkableReferenceTest.java | 113 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads() 133 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads2()
|
D | AtomicStampedReferenceTest.java | 113 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads() 133 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads2()
|
D | SemaphoreTest.java | 85 assertTrue(t.isAlive()); in waitForQueuedThread() 310 assertTrue(t2.isAlive()); in testUninterruptible() 580 assertTrue(t.isAlive()); in testReleaseAcquireDifferentThreads() 626 assertTrue(t2.isAlive());
|
D | AtomicBooleanTest.java | 96 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicReferenceTest.java | 96 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | FutureTaskTest.java | 569 assertTrue(t1.isAlive()); in testGetRun() 570 assertTrue(t2.isAlive()); in testGetRun() 608 assertTrue(t1.isAlive()); in testGetSet() 609 assertTrue(t2.isAlive()); in testGetSet()
|
D | JSR166TestCase.java | 687 if (thread.isAlive()) in checkForkJoinPoolThreadLeaks() 994 assertTrue(thread.isAlive()); 1016 assertTrue(thread.isAlive()); 1223 threadAssertTrue(thread.isAlive()); 1253 threadAssertTrue(thread.isAlive());
|
D | AtomicIntegerTest.java | 100 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicLongTest.java | 102 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicReferenceFieldUpdaterTest.java | 212 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AtomicMarkableReferenceTest.java | 136 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads() 156 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads2()
|
D | AtomicStampedReferenceTest.java | 136 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads() 156 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads2()
|
D | SemaphoreTest.java | 108 assertTrue(t.isAlive()); in waitForQueuedThread() 333 assertTrue(t2.isAlive()); in testUninterruptible() 603 assertTrue(t.isAlive()); in testReleaseAcquireDifferentThreads() 649 assertTrue(t2.isAlive());
|
D | AtomicBooleanTest.java | 119 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | FutureTaskTest.java | 592 assertTrue(t1.isAlive()); in testGetRun() 593 assertTrue(t2.isAlive()); in testGetRun() 631 assertTrue(t1.isAlive()); in testGetSet() 632 assertTrue(t2.isAlive()); in testGetSet()
|
D | AtomicReferenceTest.java | 119 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | Cancellable.java | 123 while (t.isAlive()) { in runInterruptibly()
|