![]() |
OpenSceneGraph
|
BlockCount is a block that can be used to halt a thread that is waiting for a specified number of operations to be completed. More...
Public Member Functions | |
BlockCount (unsigned int blockCount) | |
~BlockCount () | |
void | completed () |
void | block () |
void | reset () |
void | release () |
void | setBlockCount (unsigned int blockCount) |
unsigned int | getBlockCount () const |
unsigned int | getCurrentCount () const |
Protected Attributes | |
OpenThreads::Mutex | _mut |
OpenThreads::Condition | _cond |
unsigned int | _blockCount |
unsigned int | _currentCount |
BlockCount is a block that can be used to halt a thread that is waiting for a specified number of operations to be completed.
|
inline |
|
inline |
References OpenThreads::Block::release().
|
inline |
References OpenThreads::Block::_cond, OpenThreads::Block::_mut, and OpenThreads::Condition::wait().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |