15 pthread_mutexattr_t attribute;
20 status = pthread_mutexattr_settype(&attribute, PTHREAD_MUTEX_ERRORCHECK);
24 status = pthread_mutexattr_setprotocol(&attribute, PTHREAD_PRIO_INHERIT);
47 return &this->m_handle;
int PlatformIntType
DefaultTypes.hpp provides fallback defaults for the platform types.
~PosixMutex() override
destructor
Status release() override
unlock the mutex and get return status
MutexHandle * getHandle() override
return the underlying mutex handle (implementation specific)
Status take() override
lock the mutex and get return status
Mutex::Status posix_status_to_mutex_status(PlatformIntType posix_status)
pthread_mutex_t m_mutex_descriptor