38#ifndef BLOCXX_THREAD_COUNTER_HPP_INCLUDE_GUARD_
39#define BLOCXX_THREAD_COUNTER_HPP_INCLUDE_GUARD_
40#include "blocxx/BLOCXX_config.h"
61 BLOCXX_DEPRECATED
void incThreadCount(UInt32 sTimeout, UInt32 usTimeout);
66 BLOCXX_DEPRECATED
void waitForAll(UInt32 sTimeout, UInt32 usTimeout);
67 void setMax(Int32 maxThreads);
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
ThreadCountDecrementer(ThreadCounterRef const &x)
virtual void doNotifyThreadDone(Thread *)
void setMax(Int32 maxThreads)
void waitForAll(const Timeout &timeout)
Condition m_runCountCondition
ThreadCounter & operator=(ThreadCounter const &)
ThreadCounter(ThreadCounter const &)
NonRecursiveMutex m_runCountGuard
void incThreadCount(const Timeout &timeout)
ThreadCounter(Int32 maxThreads)
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.
IntrusiveReference< ThreadCounter > ThreadCounterRef
BLOCXX_EXPORT_TEMPLATE(BLOCXX_COMMON_API, Array, Bool)