26 return this->m_delegate.
take();
31 return this->m_delegate.
release();
~Mutex() final
Destructor.
MutexHandle * getHandle() override
return the underlying mutex handle (implementation specific)
void unLock()
unlock the mutex and assert success
void lock()
lock the mutex and assert success
Mutex()
Constructor. Mutex is unlocked when created.
Status take() override
lock the mutex and get return status
Status release() override
unlock the mutex and get return status
virtual Status take()=0
lock the mutex return status
virtual MutexHandle * getHandle()=0
return the underlying mutex handle (implementation specific)
virtual ~MutexInterface()=default
default virtual destructor
virtual Status release()=0
unlock the mutex return status
~ScopeLock()
unlock the scoped mutex
ScopeLock(Mutex &mutex)
construct the scope lock
@ OP_OK
Operation succeeded.