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