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