45 #if !defined(MYSQLPP_BEEMUTEX_H)
46 #define MYSQLPP_BEEMUTEX_H
107 #if __cplusplus >= 201103L
117 #if __cplusplus < 201103L
Wrapper around platform-specific mutexes.
Definition: beemutex.h:60
void unlock() MAY_THROW(MutexFailed)
Release the mutex.
Definition: beemutex.cpp:167
void lock() MAY_THROW(MutexFailed)
Acquire the mutex, blocking if it can't be acquired immediately.
Definition: beemutex.cpp:110
Exception thrown when a BeecryptMutex object fails.
Definition: exceptions.h:390
Wrapper around BeecryptMutex to add scope-bound locking and unlocking.
Definition: beemutex.h:98
ScopedLock(BeecryptMutex &mutex)
Lock the mutex.
Definition: beemutex.h:101
~ScopedLock()
Unlock the mutex.
Definition: beemutex.h:114
Declares the MySQL++-specific exception classes.