# | Line 97 | Line 97 | public class CyclicBarrier { | |
---|---|---|
97 | /** The lock for guarding barrier entry */ | |
98 | private final ReentrantLock lock = new ReentrantLock(); | |
99 | /** Condition to wait on until tripped */ | |
100 | < | private final Condition trip = lock.newCondition(); |
100 | > | private final ReentrantLock.ConditionObject trip = lock.newCondition(); |
101 | /** The number of parties */ | |
102 | private final int parties; | |
103 | /* The command to run when tripped */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |