#include <Thread.H>
Public Member Functions | |
ConditionVariable () | |
~ConditionVariable () | |
void | signal () |
void | broadcast () |
void | wait () |
void | lock () |
void | unlock () |
bool | trylock () |
ConditionVariable::ConditionVariable | ( | ) | [inline] |
ConditionVariable::~ConditionVariable | ( | ) | [inline] |
void ConditionVariable::signal | ( | ) | [inline] |
Referenced by Semaphore::post(), and SemaphoreB::up().
void ConditionVariable::broadcast | ( | ) | [inline] |
Referenced by Gate::open(), SingleBarrier::post(), Gate::release(), SingleBarrier::wait(), and Barrier::wait().
void ConditionVariable::wait | ( | ) | [inline] |
Reimplemented in Barrier, Semaphore, SingleBarrier, and Gate.
Referenced by SemaphoreB::down(), SingleBarrier::post(), Gate::wait(), SingleBarrier::wait(), Semaphore::wait(), and Barrier::wait().
void ConditionVariable::lock | ( | ) | [inline] |
void ConditionVariable::unlock | ( | ) | [inline] |
bool ConditionVariable::trylock | ( | ) |