28#include <condition_variable>
45 std::condition_variable m_condition;
50 unsigned int m_threshold;
60 unsigned int m_generation;
The main header file of the library defining the namespace and basic data types.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition Audaspace.h:116
This represents a barrier mechanism for thread sychronization.
Definition Barrier.h:35
Barrier(unsigned int count)
Creates a new Barrier object.
void wait()
Makes the caller thread wait until enough threads are stopped by this method.