Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
roc::core::Cond Class Reference

Condition variable. More...

#include <cond.h>

Inheritance diagram for roc::core::Cond:
Collaboration diagram for roc::core::Cond:

Public Member Functions

 Cond (const Mutex &mutex)
 Initialize. More...
 
void wait () const
 Wait. More...
 
void broadcast () const
 Wake up all pending waits. More...
 

Detailed Description

Condition variable.

Definition at line 25 of file cond.h.

Constructor & Destructor Documentation

roc::core::Cond::Cond ( const Mutex mutex)
inline

Initialize.

Definition at line 28 of file cond.h.

Member Function Documentation

void roc::core::Cond::broadcast ( ) const
inline

Wake up all pending waits.

Definition at line 46 of file cond.h.

void roc::core::Cond::wait ( ) const
inline

Wait.

Definition at line 41 of file cond.h.


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