F´ Flight Software - C/C++ Documentation  NASA-v1.5.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
TaskLock.hpp
Go to the documentation of this file.
1 // File: TaskLock.hpp
2 // Author: Nathan Serafin (nathan.serafin@jpl.nasa.gov)
3 // Date: 25 June, 2018
4 //
5 // OS-independant wrapper to lock out task switching.
6 
7 #ifndef _TaskLock_hpp_
8 #define _TaskLock_hpp_
9 
10 #include <Fw/Types/BasicTypes.hpp>
11 
12 namespace Os {
13  class TaskLock {
14  public:
15  static I32 lock(void);
16  static I32 unLock(void);
17  };
18 }
19 
20 #endif
Os
Definition: File.cpp:7
Os::TaskLock::lock
static I32 lock(void)
Lock task switching.
Os::TaskLock::unLock
static I32 unLock(void)
Unlock task switching.
BasicTypes.hpp
Declares ISF basic types.
Os::TaskLock
Definition: TaskLock.hpp:13