Home
last modified time | relevance | path

Searched refs:CyclicBarrier (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCyclicBarrierTest.java15 import java.util.concurrent.CyclicBarrier;
41 void awaitNumberWaiting(CyclicBarrier barrier, int numberOfWaiters) { in awaitNumberWaiting()
55 new CyclicBarrier(-1, (Runnable)null); in testConstructor1()
65 new CyclicBarrier(-1); in testConstructor2()
74 CyclicBarrier b = new CyclicBarrier(2); in testGetParties()
83 CyclicBarrier b = new CyclicBarrier(1); in testSingleParty()
96 CyclicBarrier b = new CyclicBarrier(1, new MyAction()); in testBarrierAction()
109 final CyclicBarrier b = new CyclicBarrier(2); in testTwoParties()
130 final CyclicBarrier c = new CyclicBarrier(3); in testAwait1_Interrupted_BrokenBarrier()
156 final CyclicBarrier c = new CyclicBarrier(3); in testAwait2_Interrupted_BrokenBarrier()
[all …]
DDoubleAdderTest.java9 import java.util.concurrent.CyclicBarrier;
141 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT()
154 final CyclicBarrier barrier;
157 AdderTask(DoubleAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
DLongAdderTest.java9 import java.util.concurrent.CyclicBarrier;
164 CyclicBarrier barrier = new CyclicBarrier(nthreads + 1); in testAddAndSumMT()
177 final CyclicBarrier barrier;
180 AdderTask(LongAdder adder, CyclicBarrier barrier, int incs) { in AdderTask()
DReentrantLockTest.java17 import java.util.concurrent.CyclicBarrier;
454 final CyclicBarrier barrier = new CyclicBarrier(2); in testIsLocked()
DJSR166TestCase.java41 import java.util.concurrent.CyclicBarrier;
1754 public class CheckedBarrier extends CyclicBarrier {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/apache/harmony/kernel/dalvik/
DThreadsTest.java20 import java.util.concurrent.CyclicBarrier;
52 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_1()
67 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkFor_2()
82 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkFor_3()
95 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_1()
110 CyclicBarrier barrier = new CyclicBarrier(2); in test_parkUntil_2()
125 CyclicBarrier barrier = new CyclicBarrier(1); in test_parkUntil_3()
146 private final CyclicBarrier barrier;
174 public Parker(CyclicBarrier barrier, boolean absolute, long parkMillis) { in Parker()
281 private final CyclicBarrier barrier;
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DCyclicBarrier.java140 public class CyclicBarrier { class
278 public CyclicBarrier(int parties, Runnable barrierAction) { in CyclicBarrier() method in CyclicBarrier
294 public CyclicBarrier(int parties) { in CyclicBarrier() method in CyclicBarrier
/libcore/
Dopenjdk_java_files.bp944 "ojluni/src/main/java/java/util/concurrent/CyclicBarrier.java",