F´ Flight Software - C/C++ Documentation  NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
Mutex.cpp
Go to the documentation of this file.
1 #include <Os/Mutex.hpp>
2 namespace Os {
7  Mutex::Mutex(void) {
8  static U32 counter = 0;
9  m_handle = counter++;
10  }
11  Mutex::~Mutex(void) {}
12  void Mutex::lock(void) {}
13  void Mutex::unLock(void) {}
14 }
Os
Definition: File.cpp:7
Os::Mutex::lock
void lock(void)
lock the mutex
Definition: Mutex.cpp:12
Os::Mutex::unLock
void unLock(void)
unlock the mutex
Definition: Mutex.cpp:13
Os::Mutex::~Mutex
virtual ~Mutex(void)
Destructor.
Definition: Mutex.cpp:11
Os::Mutex::Mutex
Mutex(void)
Constructor. Mutex is unlocked when created.
Definition: Mutex.cpp:7
Mutex.hpp