Searched defs:await (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
H A DCondition.java58 * <b>notFull.await();</b>
72 * <b>notEmpty.await();</b>
104 * {@linkplain #await waiting} and {@linkplain #signal signalling} methods.
202 void await() throws InterruptedException; method in interface:Condition
344 boolean await(long time, TimeUnit unit) throws InterruptedException; method in interface:Condition
428 * lock before returning from {@code await}.
446 * return from {@code await}.
H A DAbstractQueuedLongSynchronizer.java119 * only accessed when exclusively held. Upon await, a node is
1782 public final void await() throws InterruptedException { method in class:AbstractQueuedLongSynchronizer.ConditionObject
1897 public final boolean await(long time, TimeUnit unit) method in class:AbstractQueuedLongSynchronizer.ConditionObject
H A DAbstractQueuedSynchronizer.java260 * public void await() throws InterruptedException {
349 * only accessed when exclusively held. Upon await, a node is
2010 public final void await() throws InterruptedException { method in class:AbstractQueuedSynchronizer.ConditionObject
2125 public final boolean await(long time, TimeUnit unit) method in class:AbstractQueuedSynchronizer.ConditionObject
/libcore/luni/src/main/java/java/util/concurrent/
H A DCountDownLatch.java15 * The {@link #await await} methods block until the current count reaches
18 * {@link #await await} return immediately. This is a one-shot phenomenon
25 * simple on/off latch, or gate: all threads invoking {@link #await await}
34 * thread from proceeding past an {@link #await await} until all
58 * doneSignal.await(); // wait for all to finish
71 * startSignal.await();
201 public void await() throws InterruptedException { method in class:CountDownLatch
246 public boolean await(long timeout, TimeUnit unit) method in class:CountDownLatch
[all...]
H A DCyclicBarrier.java42 * barrier.await();
78 * {@link #await} returns the arrival index of that thread at the barrier.
82 * if (barrier.await() == 0) {
95 * {@code await()}
99 * corresponding {@code await()} in other threads.
201 trip.await();
238 * @param parties the number of threads that must invoke {@link #await}
256 * @param parties the number of threads that must invoke {@link #await}
275 * {@code await} on this barrier.
300 * {@code await} i
327 public int await() throws InterruptedException, BrokenBarrierException { method in class:CyclicBarrier
397 public int await(long timeout, TimeUnit unit) method in class:CyclicBarrier
[all...]

Completed in 295 milliseconds