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
TaskIdRepr.hpp
Go to the documentation of this file.
1
// File: TaskIdRepr.hpp
2
// Author: Nathan Serafin (nathan.serafin@jpl.nasa.gov)
3
// Date: 29 June, 2018
4
//
5
// Depending on the target operating system, define a type
6
// for the storage of task IDs.
7
8
#ifndef TASKIDREPR_HPP
9
#define TASKIDREPR_HPP
10
11
#if defined(TGT_OS_TYPE_LINUX) || defined(TGT_OS_TYPE_DARWIN)
12
extern
"C"
{
13
#include <pthread.h>
14
};
15
#endif
16
17
namespace
Os
{
18
#if defined(TGT_OS_TYPE_VXWORKS)
19
typedef
int
TaskIdRepr;
20
#elif defined(TGT_OS_TYPE_LINUX) || defined(TGT_OS_TYPE_DARWIN)
21
typedef
pthread_t TaskIdRepr;
22
#endif
23
}
24
25
#endif
Os
Definition:
File.cpp:7
Os
TaskIdRepr.hpp
Generated by
1.8.17