38 #ifndef BLOCXX_THREAD_COUNTER_HPP_INCLUDE_GUARD_
39 #define BLOCXX_THREAD_COUNTER_HPP_INCLUDE_GUARD_
40 #include "blocxx/BLOCXX_config.h"
60 void incThreadCount(
const Timeout& timeout);
62 void decThreadCount();
63 Int32 getThreadCount();
65 void waitForAll(
const Timeout& timeout);
67 void setMax(Int32 maxThreads);
84 virtual void doNotifyThreadDone(
Thread *);
87 #pragma warning (push)
88 #pragma warning (disable: 4251)
BLOCXX_EXPORT_TEMPLATE(BLOCXX_COMMON_API, Array, Bool)
Descriptions of exceptions thrown assume that the object is used correctly, i.e., method precondition...
NonRecursiveMutex m_runCountGuard
const UInt32 INFINITE_TIMEOUT BLOCXX_DEPRECATED
Value that means infinite timeout.
Condition m_runCountCondition
ThreadCounterRef m_counter
A timeout can be absolute, which means that it will happen at the specified DateTime.
Note that descriptions of what exceptions may be thrown assumes that object is used correctly...
The Condition class represents a synchronization device that allows threads to suspend execution and ...