| 79 |
Five classes aid common special-purpose synchronization idioms. |
Five classes aid common special-purpose synchronization idioms. |
| 80 |
{@link java.util.concurrent.Semaphore} is a classic concurrency tool. |
{@link java.util.concurrent.Semaphore} is a classic concurrency tool. |
| 81 |
{@link java.util.concurrent.CountDownLatch} is very simple yet very |
{@link java.util.concurrent.CountDownLatch} is very simple yet very |
| 82 |
common utility for blocking until a single signal, event, or condition |
common utility for blocking until a given number of signals, events, |
| 83 |
holds. A {@link java.util.concurrent.CyclicBarrier} is a resettable |
or conditions hold. A {@link java.util.concurrent.CyclicBarrier} is a |
| 84 |
multiway synchronization point common in some styles of parallel |
resettable multiway synchronization point common in some styles of |
| 85 |
programming. An {@link java.util.concurrent.Exchanger} allows two |
parallel programming. An {@link java.util.concurrent.Exchanger} allows |
| 86 |
threads to exchange objects at a rendezvous point. |
two threads to exchange objects at a rendezvous point. |
| 87 |
|
|
| 88 |
<h2>Concurrent Collections</h2> |
<h2>Concurrent Collections</h2> |
| 89 |
|
|