Home
last modified time | relevance | path

Searched refs:countDown (Results 1 – 25 of 33) sorted by relevance

12

/libcore/jsr166-tests/src/test/java/jsr166/
DCountDownLatchTest.java34 l.countDown(); in testGetCount()
44 l.countDown(); in testCountDown()
46 l.countDown(); in testCountDown()
60 pleaseCountDown.countDown(); in testAwait()
67 l.countDown(); in testAwait()
70 l.countDown(); in testAwait()
85 pleaseCountDown.countDown(); in testTimedAwait()
92 l.countDown(); in testTimedAwait()
95 l.countDown(); in testTimedAwait()
115 pleaseInterrupt.countDown(); in testAwait_Interruptible()
[all …]
DExchangerTest.java68 threadStarted.countDown(); in testExchange_InterruptedException()
85 threadStarted.countDown(); in testTimedExchange_InterruptedException()
122 exchanged.countDown(); in testReplacementAfterExchange()
128 exchanged.countDown(); in testReplacementAfterExchange()
141 interrupted.countDown(); in testReplacementAfterExchange()
DThreadPoolExecutorTest.java28 beforeCalled.countDown(); in beforeExecute()
31 afterCalled.countDown(); in afterExecute()
34 terminatedCalled.countDown(); in terminated()
67 done.countDown(); in testExecute()
92 threadStarted.countDown(); in testGetActiveCount()
99 done.countDown(); in testGetActiveCount()
154 threadStarted.countDown(); in testGetCompletedTaskCount()
157 threadDone.countDown(); in testGetCompletedTaskCount()
161 threadProceed.countDown(); in testGetCompletedTaskCount()
307 threadsStarted.countDown(); in testGetLargestPoolSize()
[all …]
DScheduledExecutorTest.java27 done.countDown(); in testExecute()
47 done.countDown(); in testSchedule1()
70 done.countDown(); in testSchedule3()
92 done.countDown(); in testSchedule4()
116 done.countDown(); in testSchedule5()
289 threadStarted.countDown(); in testGetActiveCount()
296 done.countDown(); in testGetActiveCount()
314 threadStarted.countDown(); in testGetCompletedTaskCount()
317 threadDone.countDown(); in testGetCompletedTaskCount()
321 threadProceed.countDown(); in testGetCompletedTaskCount()
[all …]
DScheduledExecutorSubclassTest.java79 done.countDown(); in testExecute()
99 done.countDown(); in testSchedule1()
122 done.countDown(); in testSchedule3()
144 done.countDown(); in testSchedule4()
168 done.countDown(); in testSchedule5()
339 threadStarted.countDown(); in testGetActiveCount()
346 done.countDown(); in testGetActiveCount()
364 threadStarted.countDown(); in testGetCompletedTaskCount()
367 threadDone.countDown(); in testGetCompletedTaskCount()
371 threadProceed.countDown(); in testGetCompletedTaskCount()
[all …]
DFutureTaskTest.java402 pleaseCancel.countDown(); in testCancelInterrupt()
433 pleaseCancel.countDown(); in testCancelInterrupt_ThrowsSecurityException()
460 cancelled.countDown(); in testCancelInterrupt_ThrowsSecurityException()
477 pleaseCancel.countDown(); in testCancelInterrupt_taskFails()
506 pleaseCancel.countDown(); in testCancelNoInterrupt()
516 cancelled.countDown(); in testCancelNoInterrupt()
539 pleaseRun.countDown(); in testGetRun()
545 pleaseRun.countDown(); in testGetRun()
578 pleaseSet.countDown(); in testGetSet()
584 pleaseSet.countDown(); in testGetSet()
[all …]
DThreadPoolExecutorSubclassTest.java168 beforeCalled.countDown(); in beforeExecute()
171 afterCalled.countDown(); in afterExecute()
174 terminatedCalled.countDown(); in terminated()
207 done.countDown(); in testExecute()
232 threadStarted.countDown(); in testGetActiveCount()
239 done.countDown(); in testGetActiveCount()
288 threadStarted.countDown(); in testGetCompletedTaskCount()
291 threadDone.countDown(); in testGetCompletedTaskCount()
295 threadProceed.countDown(); in testGetCompletedTaskCount()
414 threadsStarted.countDown(); in testGetLargestPoolSize()
[all …]
DLockSupportTest.java102 pleaseUnpark.countDown(); in testParkBeforeUnpark()
137 pleaseUnpark.countDown(); in testParkAfterUnpark()
174 pleaseInterrupt.countDown(); in testParkBeforeInterrupt()
213 pleaseInterrupt.countDown(); in testParkAfterInterrupt()
284 started.countDown(); in testGetBlocker()
DCyclicBarrierTest.java123 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier()
128 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier()
149 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier()
154 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier()
249 pleaseReset.countDown(); in testReset_BrokenBarrier()
254 pleaseReset.countDown(); in testReset_BrokenBarrier()
DPhaserTest.java462 pleaseInterrupt.countDown();
479 pleaseInterrupt.countDown();
512 pleaseArrive.countDown();
541 pleaseArrive.countDown();
569 pleaseInterrupt.countDown();
595 pleaseInterrupt.countDown();
647 latch.countDown();
655 latch.countDown();
721 pleaseForceTermination.countDown();
765 pleaseArrive.countDown();
DLinkedBlockingDequeTest.java565 pleaseInterrupt.countDown(); in testBlockingPut()
593 pleaseTake.countDown(); in testPutWithTake()
596 pleaseInterrupt.countDown(); in testPutWithTake()
628 pleaseInterrupt.countDown(); in testTimedOffer()
670 pleaseInterrupt.countDown(); in testBlockingTake()
737 aboutToWait.countDown(); in testInterruptedTimedPoll()
797 pleaseInterrupt.countDown(); in testBlockingPutFirst()
825 pleaseTake.countDown(); in testPutFirstWithTake()
828 pleaseInterrupt.countDown(); in testPutFirstWithTake()
860 pleaseInterrupt.countDown(); in testTimedOfferFirst()
[all …]
DReentrantLockTest.java586 locked.countDown(); in testAwait()
741 pleaseSignal.countDown(); in testHasWaiters()
775 locked1.countDown(); in testGetWaitQueueLength()
785 locked2.countDown(); in testGetWaitQueueLength()
832 locked1.countDown(); in testGetWaitingThreads()
841 locked2.countDown(); in testGetWaitingThreads()
892 pleaseInterrupt.countDown(); in testAwaitUninterruptibly()
903 pleaseInterrupt.countDown(); in testAwaitUninterruptibly()
946 pleaseInterrupt.countDown(); in testInterruptible()
982 pleaseSignal.countDown(); in testSignalAll()
[all …]
DExecutorsTest.java185 proceed.countDown(); in testNewSingleThreadScheduledExecutor()
211 proceed.countDown(); in testNewScheduledThreadPool()
239 proceed.countDown(); in testUnconfigurableScheduledExecutorService()
305 done.countDown(); in testDefaultThreadFactory()
347 done.countDown(); in testPrivilegedThreadFactory()
DSynchronousQueueTest.java111 pleaseInterrupt.countDown(); in testBlockingPut()
137 pleaseTake.countDown(); in testPutWithTake()
140 pleaseInterrupt.countDown(); in testPutWithTake()
173 pleaseInterrupt.countDown(); in testTimedOffer()
236 pleaseOffer.countDown(); in testTimedPollWithOffer()
248 pleaseInterrupt.countDown(); in testTimedPollWithOffer()
DForkJoinPoolTest.java262 uehInvoked.countDown(); in testSetUncaughtExceptionHandler()
380 done.countDown(); in testPollSubmission()
403 done.countDown(); in testDrainTasksTo()
588 submitted.countDown(); in testInterruptedSubmit()
596 quittingTime.countDown(); in testInterruptedSubmit()
677 latch.countDown(); in testInvokeAny4()
857 latch.countDown(); in testTimedInvokeAny3()
DReentrantReadWriteLockTest.java988 locked.countDown(); in testAwait()
1017 pleaseInterrupt.countDown(); in testAwaitUninterruptibly()
1028 pleaseInterrupt.countDown(); in testAwaitUninterruptibly()
1071 locked.countDown(); in testInterruptible()
1109 locked.countDown(); in testSignalAll()
1143 locked1.countDown(); in testSignalWakesFifo()
1153 locked2.countDown(); in testSignalWakesFifo()
1191 locked.countDown(); in testAwaitLockCount()
1204 locked.countDown(); in testAwaitLockCount()
1522 locked.countDown(); in testHasWaiters()
[all …]
DLinkedBlockingQueueTest.java255 pleaseInterrupt.countDown(); in testBlockingPut()
283 pleaseTake.countDown(); in testPutWithTake()
286 pleaseInterrupt.countDown(); in testPutWithTake()
318 pleaseInterrupt.countDown(); in testTimedOffer()
360 pleaseInterrupt.countDown(); in testBlockingTake()
427 aboutToWait.countDown(); in testInterruptedTimedPoll()
DArrayBlockingQueueTest.java265 pleaseInterrupt.countDown(); in testBlockingPut()
293 pleaseTake.countDown(); in testPutWithTake()
296 pleaseInterrupt.countDown(); in testPutWithTake()
328 pleaseInterrupt.countDown(); in testTimedOffer()
370 pleaseInterrupt.countDown(); in testBlockingTake()
438 aboutToWait.countDown(); in testInterruptedTimedPoll()
DBlockingQueueTest.java251 threadStarted.countDown();
292 threadStarted.countDown();
DTimeUnitTest.java369 pleaseInterrupt.countDown(); in testTimedWait_Interruptible()
404 pleaseInterrupt.countDown(); in testTimedJoin_Interruptible()
435 pleaseInterrupt.countDown(); in testTimedSleep_Interruptible()
DLinkedTransferQueueTest.java206 pleaseInterrupt.countDown(); in testBlockingTake()
275 aboutToWait.countDown(); in testInterruptedTimedPoll()
707 threadStarted.countDown(); in testWaitingConsumer()
747 threadStarted.countDown(); in testTransfer2()
922 pleaseInterrupt.countDown(); in testTryTransfer5()
/libcore/luni/src/main/java/java/util/concurrent/
DCountDownLatch.java261 public void countDown() { in countDown() method in CountDownLatch
/libcore/luni/src/test/java/libcore/java/lang/ref/
DFinalizeTest.java115 latch.countDown(); in createSlowFinalizer()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DSelectorTest.java123 selectReturned.countDown(); in testManyWakeupCallsTriggerOnlyOneWakeup()
/libcore/luni/src/main/java/java/net/
DInetAddress.java736 latch.countDown(); in isReachable()
741 latch.countDown(); in isReachable()

12