![]() |
Roc Toolkit internal modules
Roc Toolkit: real-time audio streaming
|
Condition variable. More...
#include <roc_core/target_posix/roc_core/cond.h>

Public Member Functions | |
| Cond (const Mutex &mutex) | |
| Initialize. | |
| ~Cond () | |
| Destroy. | |
| bool | timed_wait (nanoseconds_t timeout) const |
| Wait with timeout. | |
| void | wait () const |
| Wait. | |
| void | signal () const |
| Wake up one pending waits. | |
| void | broadcast () const |
| Wake up all pending waits. | |
| roc::core::Cond::~Cond | ( | ) |
Destroy.
| void roc::core::Cond::broadcast | ( | ) | const |
Wake up all pending waits.
| void roc::core::Cond::signal | ( | ) | const |
Wake up one pending waits.
| bool roc::core::Cond::timed_wait | ( | nanoseconds_t | timeout | ) | const |
Wait with timeout.
| void roc::core::Cond::wait | ( | ) | const |
Wait.