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