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