![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Posix implementation of Os::Mutex. More...
#include <Os/Posix/Mutex.hpp>
Public Member Functions | |
PosixMutex () | |
constructor More... | |
~PosixMutex () override | |
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... | |
![]() | |
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 | |
![]() | |
enum | Status { OP_OK, ERROR_BUSY, ERROR_DEADLOCK, NOT_SUPPORTED, ERROR_OTHER } |
![]() | |
static MutexInterface * | getDelegate (MutexHandleStorage &aligned_new_memory) |
provide a pointer to a Mutex delegate object More... | |
Posix implementation of Os::Mutex.
Posix implementation of MutexInterface
for use as a delegate class handling error-only file operations.
|
override |
|
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.