Audaspace 1.5.0
A high level audio library.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Barrier Class Reference

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.
 

Detailed Description

This represents a barrier mechanism for thread sychronization.

Constructor & Destructor Documentation

◆ Barrier()

Barrier::Barrier ( unsigned int count)

Creates a new Barrier object.

Parameters
countthe number of threads that need to reach the barrier for it to lift.

The documentation for this class was generated from the following file: