Barrier

This class represents a barrier across which threads may only travel in groups of a specific size.

Constructors

this
this(uint limit)

Initializes a barrier object which releases threads in groups of limit in size.

Members

Functions

wait
void wait()

Wait for the pre-determined number of threads and then proceed.

Suggestion Box / Bug Report