5 #ifndef OS_DELEGATEMUTEX_HPP_ 6 #define OS_DELEGATEMUTEX_HPP_ 48 #endif // OS_DELEGATEMUTEX_HPP_ DelegateMutex()
Constructor. Mutex is unlocked when created.
Link-time delegating Mutex implementation.
~DelegateMutex() final
Destructor.
DelegateMutex & operator=(const DelegateMutex &other)=delete
assignment operator is forbidden
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
U8 MutexHandleStorage[FW_MUTEX_HANDLE_MAX_SIZE]