# | Line 13 | Line 13 | import java.util.concurrent.locks.LockSu | |
---|---|---|
13 | ||
14 | /** | |
15 | * A reusable synchronization barrier, similar in functionality to | |
16 | < | * {@link java.util.concurrent.CyclicBarrier CyclicBarrier} and |
17 | < | * {@link java.util.concurrent.CountDownLatch CountDownLatch} |
18 | < | * but supporting more flexible usage. |
16 | > | * {@link CyclicBarrier} and {@link CountDownLatch} but supporting |
17 | > | * more flexible usage. |
18 | * | |
19 | * <p><b>Registration.</b> Unlike the case for other barriers, the | |
20 | * number of parties <em>registered</em> to synchronize on a phaser |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |