OpenThreads
|
Block is a block that can be used to halt a thread that is waiting another thread to release it. More...
Public Member Functions | |
Block () | |
~Block () | |
bool | block () |
bool | block (unsigned long timeout) |
void | release () |
void | reset () |
void | set (bool doRelease) |
Protected Attributes | |
Mutex | _mut |
Condition | _cond |
bool | _released |
Block is a block that can be used to halt a thread that is waiting another thread to release it.
OpenThreads::Block::Block | ( | ) | [inline] |
OpenThreads::Block::~Block | ( | ) | [inline] |
References release().
bool OpenThreads::Block::block | ( | ) | [inline] |
References _cond, _mut, _released, and OpenThreads::Condition::wait().
bool OpenThreads::Block::block | ( | unsigned long | timeout | ) | [inline] |
References _cond, _mut, _released, and OpenThreads::Condition::wait().
void OpenThreads::Block::release | ( | ) | [inline] |
void OpenThreads::Block::set | ( | bool | doRelease | ) | [inline] |
Condition OpenThreads::Block::_cond [protected] |
Mutex OpenThreads::Block::_mut [protected] |
bool OpenThreads::Block::_released [protected] |
![]() | Generated at Sun Jan 8 2012 13:22:10 for the OpenThreads by doxygen 1.7.4. |