32 m_semaphore = CreateSemaphore(NULL, LONG(initial_value), LONG_MAX, NULL);
48 return res == WAIT_OBJECT_0;
53 DWORD res = WaitForSingleObject(
m_semaphore, INFINITE);
54 return res == WAIT_OBJECT_0;
60 return res == WAIT_OBJECT_0;
Represents absolute times.
int64_t toMSec() const
May result in an overflow if seconds are too large.
Contains icl_core::thread::SemaphoreImplWin32.
Contains icl_core::thread::tMutex.
const TimeSpan timeout(1, 0)
Repesents absolute times.
SemaphoreImplWin32(size_t initial_value)
TimeSpan getRelativeTimeout(const TimeStamp &timeout_absolute)
virtual ~SemaphoreImplWin32()