![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Os/Mutex.hpp>
Public Member Functions | |
| Mutex () | |
| Constructor. Mutex is unlocked when created. More... | |
| ~Mutex () final | |
| Destructor. More... | |
| MutexHandle * | getHandle () override |
| return the underlying mutex handle (implementation specific) More... | |
| Status | take () override |
| lock the mutex and get return status More... | |
| Status | release () override |
| unlock the mutex and get return status More... | |
| void | lock () |
| lock the mutex and assert success More... | |
| void | unLock () |
| unlock the mutex and assert success More... | |
| void | unlock () |
| alias for unLock to meet BasicLockable requirements More... | |
Public Member Functions inherited from Os::MutexInterface | |
| MutexInterface ()=default | |
| default constructor More... | |
| virtual | ~MutexInterface ()=default |
| default virtual destructor More... | |
| MutexInterface (const MutexInterface &other)=delete | |
| copy constructor is forbidden More... | |
| MutexInterface (const MutexInterface *other)=delete | |
| copy constructor is forbidden More... | |
| MutexInterface & | operator= (const MutexInterface &other)=delete |
| assignment operator is forbidden More... | |
Additional Inherited Members | |
Public Types inherited from Os::MutexInterface | |
| enum | Status { OP_OK , ERROR_BUSY , ERROR_DEADLOCK , ERROR_OTHER } |
Static Public Member Functions inherited from Os::MutexInterface | |
| static MutexInterface * | getDelegate (MutexHandleStorage &aligned_new_memory) |
| provide a pointer to a Mutex delegate object More... | |
| Os::Mutex::Mutex | ( | ) |
|
overridevirtual |
return the underlying mutex handle (implementation specific)
Implements Os::MutexInterface.
|
overridevirtual |
unlock the mutex and get return status
Implements Os::MutexInterface.
|
overridevirtual |
lock the mutex and get return status
Implements Os::MutexInterface.
| void Os::Mutex::unLock | ( | ) |
|
inline |