38#ifndef BLOCXX_SEMAPHORE_HPP_INCLUDE_GUARD_
39#define BLOCXX_SEMAPHORE_HPP_INCLUDE_GUARD_
40#include "blocxx/BLOCXX_config.h"
69 BLOCXX_DEPRECATED
bool timedWait(UInt32 sTimeout, UInt32 usTimeout=0)
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,...
Note that descriptions of what exceptions may be thrown assumes that object is used correctly,...
Semaphore & operator=(const Semaphore &)
Semaphore(Int32 initCount)
Semaphore(const Semaphore &)
NonRecursiveMutex m_mutex
bool timedWait(const Timeout &timeout)
BLOCXX_DEPRECATED bool timedWait(UInt32 sTimeout, UInt32 usTimeout=0)
A timeout can be absolute, which means that it will happen at the specified DateTime.
static Timeout relative(float seconds)
A TimeoutTimer is used by an algorithm to determine when a timeout has expired.
Timeout asAbsoluteTimeout() const
Converts the timer to an absolute timeout.