F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Mutex.cpp
Go to the documentation of this file.
1// ======================================================================
2// \title Os/Stub/Mutex.cpp
3// \brief stub implementation for Os::Mutex
4// ======================================================================
5#include "Os/Stub/Mutex.hpp"
6
7namespace Os {
8namespace Stub {
9namespace Mutex {
10
14
18
20 return &this->m_handle;
21 }
22} // namespace Mutex
23} // namespace Stub
24} // namespace Os
@ OP_OK
Operation was successful.
Definition Mutex.hpp:18
MutexHandle * getHandle() override
return the underlying mutex handle (implementation specific)
Definition Mutex.cpp:19
Status release() override
unlock the mutex and get return status
Definition Mutex.cpp:15
Status take() override
lock the mutex and get return status
Definition Mutex.cpp:11