9 #ifndef anna_core_mt_Mutex_hpp 10 #define anna_core_mt_Mutex_hpp 54 virtual void lock() noexcept(
false);
70 operator const pthread_mutex_t*()
const {
93 #define anna_declare_mutex(ClassName) \ 94 anna::Mutex a_autoMutex; \ 95 void lock () noexcept(false) { a_autoMutex.lock (); } \ 96 void unlock () { a_autoMutex.unlock (); } \ 97 friend class anna::Guard <ClassName >; 99 #define anna_access_mutex a_autoMutex
virtual void lock() noexcept(false)
_v
Definition: Mutex.hpp:43
Mutex(const Mode::_v mode=Mode::Recursive)
bool trylock() noexcept(false)