class Concurrent::CyclicBarrier
- Concurrent::CyclicBarrier
- Reference
- Object
Overview
A synchronization aid that allows a set of fibers to all wait for each other to reach a common barrier point.
Defined in:
concurrent/cyclic_barrier.crConstructors
Instance Method Summary
- #broken? : Bool
-
#parties : Int32
Returns the number of fibers needed to pass the barrier.
-
#wait
Wait until #wait has been called by @parties Fibers.