# | Line 30 | Line 30 | import java.util.concurrent.locks.LockSu | |
---|---|---|
30 | * zero, and advancing when all parties reach the barrier (wrapping | |
31 | * around to zero after reaching {@code Integer.MAX_VALUE}). | |
32 | * | |
33 | < | * <li> Like a {@code CyclicBarrier}, a Phaser may be repeatedly |
33 | > | * <li> Like a {@code CyclicBarrier}, a phaser may be repeatedly |
34 | * awaited. Method {@link #arriveAndAwaitAdvance} has effect | |
35 | * analogous to {@link java.util.concurrent.CyclicBarrier#await | |
36 | * CyclicBarrier.await}. However, phasers separate two aspects of |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |