F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
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
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
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
() {
11
intLockEmulator
.
lock
();
12
}
10
void
InterruptLock::lock
() {
…
}
13
14
void
InterruptLock::unLock
() {
15
intLockEmulator
.
unLock
();
16
}
14
void
InterruptLock::unLock
() {
…
}
17
18
19
}
20
21
STATIC
#define STATIC
static for non unit-test code
Definition
BasicTypes.h:71
intLockEmulator
STATIC Os::Mutex intLockEmulator
Definition
InterruptLock.cpp:4
InterruptLock.hpp
Mutex.hpp
Os::InterruptLock::InterruptLock
InterruptLock()
Constructor.
Definition
InterruptLock.cpp:7
Os::InterruptLock::unLock
void unLock()
unlock interrupts
Definition
InterruptLock.cpp:14
Os::InterruptLock::lock
void lock()
lock interrupts
Definition
InterruptLock.cpp:10
Os::InterruptLock::~InterruptLock
virtual ~InterruptLock()
destructor
Definition
InterruptLock.cpp:8
Os::Mutex
Definition
Mutex.hpp:8
Os::Mutex::unLock
void unLock()
unlock the mutex
Definition
Mutex.cpp:13
Os::Mutex::lock
void lock()
lock the mutex
Definition
Mutex.cpp:12
Os
Definition
File.cpp:6
Os
Linux
InterruptLock.cpp
Generated by
1.10.0