F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Mutex.hpp
Go to the documentation of this file.
1 #ifndef _Mutex_hpp_
2 #define _Mutex_hpp_
3 
5 
6 namespace Os {
7 
8  class Mutex {
9  public:
10 
11  Mutex();
12  virtual ~Mutex();
13 
14  void lock();
15  void unLock();
16 
17  private:
18 
19  POINTER_CAST m_handle;
20  };
21 }
22 
23 #endif
Os
Definition: File.cpp:7
Os::Mutex::Mutex
Mutex()
Constructor. Mutex is unlocked when created.
Definition: Mutex.cpp:7
Os::Mutex::lock
void lock()
lock the mutex
Definition: Mutex.cpp:12
Os::Mutex
Definition: Mutex.hpp:8
Os::Mutex::~Mutex
virtual ~Mutex()
Destructor.
Definition: Mutex.cpp:11
Os::Mutex::unLock
void unLock()
unlock the mutex
Definition: Mutex.cpp:13
BasicTypes.hpp
Declares ISF basic types.