38#include "blocxx/BLOCXX_config.h"
76 m_impl.acquireReadLock(tid, timeout);
86 m_impl.releaseReadLock(tid);
105 m_impl.acquireWriteLock(tid, timeout);
115 m_impl.releaseWriteLock(tid);
#define BLOCXX_DEFINE_EXCEPTION_WITH_ID(NAME)
Define a new exception class named <NAME>Exception that derives from Exception.
#define BLOCXX_THROW_SUBEX(exType, msg, subex)
Throw an exception using FILE and LINE.
void getWriteLock(const Timeout &timeout)
GenericRWLockImpl< Thread_t, ThreadComparer > m_impl
void getReadLock(const Timeout &timeout)
A timeout can be absolute, which means that it will happen at the specified DateTime.
static Timeout relative(float seconds)
bool sameThreads(const volatile Thread_t &handle1, const volatile Thread_t &handle2)
Check two platform dependant thread types for equality.
bool operator()(Thread_t x, Thread_t y) const