Home
last modified time | relevance | path

Searched defs:barrier (Results 1 – 5 of 5) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java52 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_1() local
67 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_2() local
82 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkFor_3() local
94 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_1() local
109 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_2() local
124 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkUntil_3() local
142 private final CyclicBarrier barrier; field in ThreadsTest.Parker
168 public Parker(CyclicBarrier barrier, boolean absolute, long parkMillis) { in Parker()
260 private final CyclicBarrier barrier; field in ThreadsTest.WaitAndUnpark
264 public WaitAndUnpark(CyclicBarrier barrier, long waitMillis, Thread thread) { in WaitAndUnpark()
/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java30 void awaitNumberWaiting(CyclicBarrier barrier, int numberOfWaiters) { in awaitNumberWaiting()
323 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetWithoutBreakage() local
354 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterInterrupt() local
387 final CyclicBarrier barrier = new CyclicBarrier(3); in testResetAfterTimeout() local
423 final CyclicBarrier barrier = in testResetAfterCommandException() local
DBlockingQueueTest.java205 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollWithOffer() local
DLinkedBlockingDequeTest.java1065 final CheckedBarrier barrier = new CheckedBarrier(2); in testTimedPollFirstWithOfferFirst() local
DReentrantLockTest.java436 final CyclicBarrier barrier = new CyclicBarrier(2); in testIsLocked() local