5 #ifndef OS_MUTEXINTERFACE_HPP_ 6 #define OS_MUTEXINTERFACE_HPP_ 11 #include "config/OsDelegateMutex.hpp" 68 static_cast<FwAssertArgType>(reinterpret_cast<PlatformPointerCastType>(
this)), status);
75 static_cast<FwAssertArgType>(reinterpret_cast<PlatformPointerCastType>(
this)), status);
114 #endif // OS_MUTEXINTERFACE_HPP_
Mutex does not support operation.
ScopeLock(MutexInterface &mutex)
construct the scope lock
ScopeLock & operator=(const ScopeLock &other)=delete
assignment operator is forbidden
virtual Status release()=0
unlock the mutex return status
Operation was successful.
virtual Status take()=0
lock the mutex return status
virtual MutexHandle * getHandle()=0
return the underlying mutex handle (implementation specific)
void unLock()
unlock the mutex and assert success
~ScopeLock()
unlock the scoped mutex
virtual ~MutexInterface()=default
default virtual destructor
void lock()
lock the mutex and assert success
Deadlock condition detected.
locks a mutex within the current scope
void unlock()
alias for unLock to meet BasicLockable requirements
MutexInterface()=default
default constructor
U8 MutexHandleStorage[FW_MUTEX_HANDLE_MAX_SIZE]
static MutexInterface * getDelegate(MutexHandleStorage &aligned_new_memory)
provide a pointer to a Mutex delegate object
MutexInterface & operator=(const MutexInterface &other)=delete
assignment operator is forbidden