![]() |
OpenSceneGraph
|
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.
|
inline |
|
inline |
References release().
|
inline |
References _cond, _mut, _released, and OpenThreads::Condition::wait().
|
inline |
References _cond, _mut, _released, and OpenThreads::Condition::wait().
|
inline |
References _cond, _mut, _released, and OpenThreads::Condition::broadcast().
Referenced by set(), ~Block(), and OpenThreads::BlockCount::~BlockCount().
|
protected |
|
protected |
1.8.13