9 #ifndef OS_STUB_MUTEX_HPP 10 #define OS_STUB_MUTEX_HPP 54 #endif // OS_STUB_MUTEX_HPP Nonblocking stub implementation of Os::Mutex.
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
StubMutex()=default
constructor
~StubMutex() override=default
destructor
std::atomic< bool > m_mutex_taken
True if the mutex has been acquired without being released.