Audaspace 1.5.0
A high level audio library.
|
This represents a barrier mechanism for thread sychronization. More...
#include <Barrier.h>
Public Member Functions | |
Barrier (unsigned int count) | |
Creates a new Barrier object. | |
void | wait () |
Makes the caller thread wait until enough threads are stopped by this method. | |
This represents a barrier mechanism for thread sychronization.
Barrier::Barrier | ( | unsigned int | count | ) |
Creates a new Barrier object.
count | the number of threads that need to reach the barrier for it to lift. |