31 m_mutex = ::CreateMutex(NULL,
false, NULL);
44 return ::WaitForSingleObject(
m_mutex, INFINITE) == WAIT_OBJECT_0;
54 return ::WaitForSingleObject(
m_mutex, DWORD(timeout.
toMSec())) == WAIT_OBJECT_0;
59 return ::WaitForSingleObject(
m_mutex, 0) == WAIT_OBJECT_0;
Represents absolute times.
Contains icl_core::thread::MutexImplWin32.
int64_t toMSec() const
May result in an overflow if seconds are too large.
Contains icl_core::thread::tMutex.
const TimeSpan timeout(1, 0)
Repesents absolute times.
virtual ~MutexImplWin32()
TimeSpan getRelativeTimeout(const TimeStamp &timeout_absolute)