120 |
|
* |
121 |
|
* <h2>Synchronizers</h2> |
122 |
|
* |
123 |
< |
* Four classes aid common special-purpose synchronization idioms. |
124 |
< |
* {@link java.util.concurrent.Semaphore} is a classic concurrency |
125 |
< |
* tool. {@link java.util.concurrent.CountDownLatch} is a very simple |
126 |
< |
* yet very common utility for blocking until a given number of |
127 |
< |
* signals, events, or conditions hold. A {@link |
128 |
< |
* java.util.concurrent.CyclicBarrier} is a resettable multiway |
129 |
< |
* synchronization point useful in some styles of parallel |
130 |
< |
* programming. A {@link java.util.concurrent.Phaser} provides a more |
131 |
< |
* flexible form of barrier that may be used to control phased |
132 |
< |
* computation among multiple threads. An {@link |
133 |
< |
* java.util.concurrent.Exchanger} allows two threads to exchange |
134 |
< |
* objects at a rendezvous point, and is useful in several pipeline |
135 |
< |
* designs. |
123 |
> |
* Five classes aid common special-purpose synchronization idioms. |
124 |
> |
* <ul> |
125 |
> |
* |
126 |
> |
* <li>{@link java.util.concurrent.Semaphore} is a classic concurrency tool. |
127 |
> |
* |
128 |
> |
* <li>{@link java.util.concurrent.CountDownLatch} is a very simple yet |
129 |
> |
* very common utility for blocking until a given number of signals, |
130 |
> |
* events, or conditions hold. |
131 |
> |
* |
132 |
> |
* <li>A {@link java.util.concurrent.CyclicBarrier} is a resettable |
133 |
> |
* multiway synchronization point useful in some styles of parallel |
134 |
> |
* programming. |
135 |
> |
* |
136 |
> |
* <li>A {@link java.util.concurrent.Phaser} provides |
137 |
> |
* a more flexible form of barrier that may be used to control phased |
138 |
> |
* computation among multiple threads. |
139 |
> |
* |
140 |
> |
* <li>An {@link java.util.concurrent.Exchanger} allows two threads to |
141 |
> |
* exchange objects at a rendezvous point, and is useful in several |
142 |
> |
* pipeline designs. |
143 |
> |
* |
144 |
> |
* </ul> |
145 |
|
* |
146 |
|
* <h2>Concurrent Collections</h2> |
147 |
|
* |