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