F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Os::Mutex Class Reference

#include <Os/Mutex.hpp>

Public Member Functions

 Mutex ()
 Constructor. Mutex is unlocked when created. More...
 
virtual ~Mutex ()
 Destructor. More...
 
void lock ()
 lock the mutex More...
 
void unLock ()
 unlock the mutex More...
 

Detailed Description

Definition at line 8 of file Mutex.hpp.

Constructor & Destructor Documentation

◆ Mutex()

Os::Mutex::Mutex ( )

Constructor. Mutex is unlocked when created.

On baremetal, mutexes are not required as there is a single threaded engine to run on.

Definition at line 7 of file Mutex.cpp.

◆ ~Mutex()

Os::Mutex::~Mutex ( )
virtual

Destructor.

Definition at line 11 of file Mutex.cpp.

Member Function Documentation

◆ lock()

void Os::Mutex::lock ( )

lock the mutex

Definition at line 12 of file Mutex.cpp.

◆ unLock()

void Os::Mutex::unLock ( )

unlock the mutex

Definition at line 13 of file Mutex.cpp.


The documentation for this class was generated from the following files: