#include <Thread.H>


Public Member Functions | |
| SemaphoreB (int val_=1) | |
| int | down () |
| int | up () |
| int | value () |
| int | decrement () |
Protected Member Functions | |
| void | signal () |
| void | broadcast () |
| void | wait () |
| void | lock () |
| void | unlock () |
| bool | trylock () |
| SemaphoreB::SemaphoreB | ( | int | val_ = 1 |
) | [explicit] |
| int SemaphoreB::down | ( | ) |
References ConditionVariable::lock(), ConditionVariable::unlock(), and ConditionVariable::wait().
| int SemaphoreB::up | ( | ) |
References ConditionVariable::lock(), ConditionVariable::signal(), and ConditionVariable::unlock().
| int SemaphoreB::value | ( | ) |
References ConditionVariable::lock(), and ConditionVariable::unlock().
| int SemaphoreB::decrement | ( | ) |
References ConditionVariable::lock(), and ConditionVariable::unlock().
| void ConditionVariable::signal | ( | ) | [inline, inherited] |
Referenced by Semaphore::post(), and up().
| void ConditionVariable::broadcast | ( | ) | [inline, inherited] |
Referenced by Gate::open(), SingleBarrier::post(), Gate::release(), SingleBarrier::wait(), and Barrier::wait().
| void ConditionVariable::wait | ( | ) | [inline, inherited] |
Reimplemented in Barrier, Semaphore, SingleBarrier, and Gate.
Referenced by down(), SingleBarrier::post(), Gate::wait(), SingleBarrier::wait(), Semaphore::wait(), and Barrier::wait().
| void ConditionVariable::lock | ( | ) | [inline, inherited] |
| void ConditionVariable::unlock | ( | ) | [inline, inherited] |
| bool ConditionVariable::trylock | ( | ) | [inherited] |
1.5.5