core.sync.barrier
The barrier module provides a primitive for synchronizing the progress of a group of threads. License:Boost License 1.0 Authors:
Sean Kelly Source:
core/sync/barrier.d
- This class represents a barrier across which threads may only travel in
groups of a specific size.
- Initializes a barrier object which releases threads in groups of limit
in size.
Parameters:
Throws:uint limit The number of waiting threads to release in unison.
SyncException on error. - Wait for the pre-determined number of threads and then proceed.
Throws:
SyncException on error.