OpenThreads
|
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 _blockCount, and release().
|
inline |
References _cond, _currentCount, _mut, and OpenThreads::Condition::wait().
|
inline |
References _cond, _currentCount, _mut, and OpenThreads::Condition::broadcast().
|
inline |
References _blockCount.
|
inline |
References _currentCount.
|
inline |
References _cond, _currentCount, _mut, and OpenThreads::Condition::broadcast().
Referenced by ~BlockCount().
|
inline |
References _blockCount, _cond, _currentCount, _mut, and OpenThreads::Condition::broadcast().
|
inline |
References _blockCount.
|
protected |
Referenced by getBlockCount(), reset(), setBlockCount(), and ~BlockCount().
|
protected |
Referenced by block(), completed(), release(), and reset().
|
protected |
Referenced by block(), completed(), getCurrentCount(), release(), and reset().
|
protected |
Referenced by block(), completed(), release(), and reset().
![]() | Generated at Thu Feb 28 2013 21:38:11 for the OpenThreads by doxygen 1.8.3.1. |