# | Line 22 | Line 22 | import java.util.concurrent.locks.Reentr | |
---|---|---|
22 | * This <em>barrier action</em> is useful | |
23 | * for updating shared-state before any of the parties continue. | |
24 | * | |
25 | < | * <p><b>Sample usage:</b> Here is an example of |
26 | < | * using a barrier in a parallel decomposition design: |
25 | > | * <p><b>Sample usage:</b> Here is an example of using a barrier in a |
26 | > | * parallel decomposition design: |
27 | * | |
28 | * <pre> {@code | |
29 | * class Solver { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |