# | Line 193 | Line 193 | import java.util.concurrent.locks.LockSu | |
---|---|---|
193 | * phaser.arriveAndDeregister(); | |
194 | * }}</pre> | |
195 | * | |
196 | – | * |
196 | * <p>To create a set of {@code n} tasks using a tree of phasers, you | |
197 | * could use code of the following form, assuming a Task class with a | |
198 | * constructor accepting a {@code Phaser} that it registers with upon |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |