core.sync.barrier
The barrier module provides a primitive for synchronizing the progress of a group of threads.
Copyright
Copyright Sean Kelly 2005 - 2009.
class Barrier
Types 1
classBarrier
This class represents a barrier across which threads may only travel in groups of a specific size.
Fields
private Mutex m_lockprivate Condition m_condprivate uint m_groupprivate uint m_limitprivate uint m_countMethods
void wait()Wait for the pre-determined number of threads and then proceed.Constructors
this( uint limit )Initializes a barrier object which releases threads in groups of limit in size.