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);
61 BLOCXX_DEPRECATED
void incThreadCount(UInt32 sTimeout, UInt32 usTimeout);
62 void decThreadCount();
63 Int32 getThreadCount();
65 void waitForAll(
const Timeout& timeout);
66 BLOCXX_DEPRECATED
void waitForAll(UInt32 sTimeout, UInt32 usTimeout);
67 void setMax(Int32 maxThreads);
84 virtual void doNotifyThreadDone(
Thread *);
88#pragma warning (disable: 4251)
The Condition class represents a synchronization device that allows threads to suspend execution and ...
Note that descriptions of what exceptions may be thrown assumes that object is used correctly,...
ThreadCountDecrementer(ThreadCountDecrementer const &)
ThreadCountDecrementer & operator=(ThreadCountDecrementer const &)
ThreadCounterRef m_counter
Condition m_runCountCondition
ThreadCounter & operator=(ThreadCounter const &)
ThreadCounter(ThreadCounter const &)
NonRecursiveMutex m_runCountGuard
Descriptions of exceptions thrown assume that the object is used correctly, i.e., method precondition...
A timeout can be absolute, which means that it will happen at the specified DateTime.
BLOCXX_EXPORT_TEMPLATE(BLOCXX_COMMON_API, Array, Bool)