Lines Matching refs:CountDownLatch
44 * <p>A {@code CountDownLatch} is initialized with a given <em>count</em>.
52 * <p>A {@code CountDownLatch} is a versatile synchronization tool
54 * {@code CountDownLatch} initialized with a count of one serves as a
57 * #countDown}. A {@code CountDownLatch} initialized to <em>N</em>
61 * <p>A useful property of a {@code CountDownLatch} is that it
79 * CountDownLatch startSignal = new CountDownLatch(1);
80 * CountDownLatch doneSignal = new CountDownLatch(N);
93 * private final CountDownLatch startSignal;
94 * private final CountDownLatch doneSignal;
95 * Worker(CountDownLatch startSignal, CountDownLatch doneSignal) {
122 * CountDownLatch doneSignal = new CountDownLatch(N);
133 * private final CountDownLatch doneSignal;
135 * WorkerRunnable(CountDownLatch doneSignal, int i) {
161 public class CountDownLatch {
163 * Synchronization control For CountDownLatch.
197 * Constructs a {@code CountDownLatch} initialized with the given count.
203 public CountDownLatch(int count) {