#include <ThreadCounter.hpp>
Inheritance diagram for BLOCXX_NAMESPACE::ThreadCounter:
Public Member Functions | |
ThreadCounter (Int32 maxThreads) | |
~ThreadCounter () | |
void | incThreadCount (UInt32 sTimeout, UInt32 usTimeout) |
void | decThreadCount () |
Int32 | getThreadCount () |
void | waitForAll (UInt32 sTimeout, UInt32 usTimeout) |
void | setMax (Int32 maxThreads) |
Private Member Functions | |
ThreadCounter (ThreadCounter const &) | |
ThreadCounter & | operator= (ThreadCounter const &) |
Private Attributes | |
Int32 | m_maxThreads |
Int32 | m_runCount |
NonRecursiveMutex | m_runCountGuard |
Condition | m_runCountCondition |
Definition at line 53 of file ThreadCounter.hpp.
|
Definition at line 46 of file ThreadCounter.cpp. |
|
Definition at line 50 of file ThreadCounter.cpp. |
|
|
|
Definition at line 66 of file ThreadCounter.cpp. References BLOCXX_ASSERT, m_runCount, m_runCountCondition, m_runCountGuard, and BLOCXX_NAMESPACE::Condition::notifyAll(). |
|
Definition at line 74 of file ThreadCounter.cpp. References m_runCount, and m_runCountGuard. |
|
Definition at line 53 of file ThreadCounter.cpp. References BLOCXX_THROW, m_maxThreads, m_runCount, m_runCountCondition, m_runCountGuard, and BLOCXX_NAMESPACE::Condition::timedWait(). |
|
|
|
Definition at line 92 of file ThreadCounter.cpp. References m_maxThreads, m_runCountCondition, m_runCountGuard, and BLOCXX_NAMESPACE::Condition::notifyAll(). |
|
Definition at line 80 of file ThreadCounter.cpp. References BLOCXX_THROW, m_runCount, m_runCountCondition, m_runCountGuard, and BLOCXX_NAMESPACE::Condition::timedWait(). |
|
Definition at line 66 of file ThreadCounter.hpp. Referenced by incThreadCount(), and setMax(). |
|
Definition at line 67 of file ThreadCounter.hpp. Referenced by decThreadCount(), getThreadCount(), incThreadCount(), and waitForAll(). |
|
Definition at line 69 of file ThreadCounter.hpp. Referenced by decThreadCount(), incThreadCount(), setMax(), and waitForAll(). |
|
Definition at line 68 of file ThreadCounter.hpp. Referenced by decThreadCount(), getThreadCount(), incThreadCount(), setMax(), and waitForAll(). |