F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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-independent wrapper to lock out task switching.
6
7
#ifndef _TaskLock_hpp_
8
#define _TaskLock_hpp_
9
10
#include <
FpConfig.hpp
>
11
12
namespace
Os
{
13
class
TaskLock
{
14
public
:
15
static
I32
lock
();
16
static
I32
unLock
();
17
};
18
}
19
20
#endif
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Os::TaskLock
Definition
TaskLock.hpp:13
Os::TaskLock::lock
static I32 lock()
Lock task switching.
Os::TaskLock::unLock
static I32 unLock()
Unlock task switching.
Os
Definition
File.cpp:6
Os
TaskLock.hpp
Generated by
1.9.7