|
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 _mut, _released, _cond, and OpenThreads::Condition::wait().
| bool OpenThreads::Block::block | ( | unsigned long | timeout | ) | [inline] |
References _mut, _released, _cond, 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 Tue Oct 11 2011 21:12:11 for the OpenThreads by doxygen 1.7.5. |