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