/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 | 179 } else if (readSide != null && !readSide.isAlive()) { in receive() 185 if ((readSide != null) && !readSide.isAlive()) { in receive() 249 } else if (writeSide != null && !writeSide.isAlive() in read() 261 if ((writeSide != null) && (!writeSide.isAlive()) && (--trials < 0)) { in read() 311 } else if (writeSide != null && !writeSide.isAlive() in read() 357 } else if (writeSide != null && !writeSide.isAlive() in ready()
|
D | PipedInputStream.java | 268 } else if (readSide != null && !readSide.isAlive()) { in checkStateForReceive() 320 } else if (writeSide != null && !writeSide.isAlive() in read() 332 if ((writeSide != null) && (!writeSide.isAlive()) && (--trials < 0)) { in read()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ThreadTest.java | 442 while (t.isAlive()) in test_getThreadGroup() 527 assertFalse("A thread that wasn't started is alive.", st.isAlive()); in test_isAlive() 535 assertTrue("Started thread returned false", st.isAlive()); in test_isAlive() 541 assertTrue("Stopped thread returned true", !st.isAlive()); in test_isAlive() 604 assertTrue("Thread is alive", !st.isAlive()); in test_join() 613 assertTrue("Joined thread is still alive", !st.isAlive()); in test_join() 635 assertTrue("Thread is alive", !st.isAlive()); in test_joinJ() 644 assertTrue("Join failed to timeout", st.isAlive()); in test_joinJ() 658 assertTrue("Joined thread is still alive", !st.isAlive()); in test_joinJ() 698 assertTrue("Thread is alive", !st.isAlive()); in test_joinJI() [all …]
|
/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/ojluni/src/main/java/java/lang/ |
D | Thread.java | 1028 public final boolean isAlive() { in isAlive() method in Thread 1122 if (isAlive()) { in setPriority() 1161 if (isAlive()) { in setName() 1289 while (isAlive()) { in join() 1293 while (isAlive()) { in join() 1398 if (isAlive()) { in setDaemon()
|
D | ApplicationShutdownHooks.java | 68 if (hook.isAlive()) in add()
|
/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 | AtomicBooleanTest.java | 96 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
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 | AtomicReferenceFieldUpdaterTest.java | 215 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 | AtomicLongFieldUpdaterTest.java | 231 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicIntegerFieldUpdaterTest.java | 231 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicIntegerTest.java | 100 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | AtomicLongTest.java | 102 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
D | JSR166TestCase.java | 687 if (thread.isAlive()) in checkForkJoinPoolThreadLeaks() 994 assertTrue(thread.isAlive()); 1016 assertTrue(thread.isAlive()); 1223 threadAssertTrue(thread.isAlive());
|
D | ReentrantReadWriteLockTest.java | 98 assertTrue(t.isAlive()); in waitForQueuedThread() 553 assertTrue(t1.isAlive()); in testReaderWriterReaderFairFifo() 638 assertTrue(t1.isAlive()); in testReadTryLockBarging() 639 if (fair) assertTrue(t2.isAlive()); in testReadTryLockBarging() 1009 assertTrue(t.isAlive()); in testAwait() 1051 assertTrue(t2.isAlive()); in testAwaitUninterruptibly()
|
D | AtomicReferenceArrayTest.java | 167 assertFalse(t.isAlive()); in testCompareAndSetInMultipleThreads()
|
/libcore/ojluni/src/main/java/sun/net/www/http/ |
D | KeepAliveStream.java | 168 if (!cleanerThread.isAlive()) { in queueForCleanup()
|
D | KeepAliveCache.java | 82 if (!keepAliveTimer.isAlive()) { in put()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileInputStreamTest.java | 84 assertFalse(feeder.isAlive()); in testSkipInPipes()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLEngineTest.java | 1187 while (clientThread.isAlive() && serverThread.isAlive() && i < 20) { in doHandshake() 1192 if (clientThread.isAlive()) { in doHandshake() 1196 if (serverThread.isAlive()) { in doHandshake()
|