16 return Status::ERROR_BUSY;
27 return Status::ERROR_OTHER;
35 return &this->m_handle;
MutexHandle * getHandle() override
return the underlying mutex handle (implementation specific)
Status release() override
unlock the mutex and get return status
Status take() override
lock the mutex and get return status
std::atomic< bool > m_mutex_taken
True if the mutex has been acquired without being released.