F´ Flight Software - C/C++ Documentation  NASA-v2.0.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 (void)
 Constructor. Mutex is unlocked when created. More...
 
virtual ~Mutex (void)
 Destructor. More...
 
void lock (void)
 lock the mutex More...
 
void unLock (void)
 unlock the mutex More...
 

Detailed Description

Definition at line 8 of file Mutex.hpp.

Constructor & Destructor Documentation

◆ Mutex()

Os::Mutex::Mutex ( void  )

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 ( void  )
virtual

Destructor.

Definition at line 11 of file Mutex.cpp.

Member Function Documentation

◆ lock()

void Os::Mutex::lock ( void  )

lock the mutex

Definition at line 12 of file Mutex.cpp.

◆ unLock()

void Os::Mutex::unLock ( void  )

unlock the mutex

Definition at line 13 of file Mutex.cpp.


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