F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
InterruptLock.cpp
Go to the documentation of this file.
1
#include <
Os/InterruptLock.hpp
>
2
#include <
Os/Mutex.hpp
>
3
4
STATIC
Os::Mutex
intLockEmulator
;
5
6
namespace
Os
{
7
InterruptLock::InterruptLock
() : m_key(0) {}
8
InterruptLock::~InterruptLock
() {}
9
10
void
InterruptLock::lock
(
void
) {
11
intLockEmulator
.
lock
();
12
}
13
14
void
InterruptLock::unLock
(
void
) {
15
intLockEmulator
.
unLock
();
16
}
17
18
19
}
20
21
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::InterruptLock::unLock
void unLock(void)
unlock interrupts
Definition:
InterruptLock.cpp:14
intLockEmulator
STATIC Os::Mutex intLockEmulator
Definition:
InterruptLock.cpp:4
Os::InterruptLock::lock
void lock(void)
lock interrupts
Definition:
InterruptLock.cpp:10
Os::InterruptLock::~InterruptLock
virtual ~InterruptLock(void)
destructor
Definition:
InterruptLock.cpp:8
Os::Mutex
Definition:
Mutex.hpp:8
Mutex.hpp
Os::InterruptLock::InterruptLock
InterruptLock(void)
Constructor.
Definition:
InterruptLock.cpp:7
InterruptLock.hpp
STATIC
#define STATIC
static for non unit-test code
Definition:
BasicTypes.hpp:110
Os
Linux
InterruptLock.cpp
Generated by
1.8.17