g4tools
5.4.0
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
h
i
k
l
m
o
p
r
s
u
w
z
Enumerations
Enumerator
_
a
b
c
d
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
v
w
x
z
Functions
_
d
g
i
m
p
s
t
v
Typedefs
_
a
c
d
e
g
m
p
s
t
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
g4tools
tools
sys
process
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_sys_process
5
#define tools_sys_process
6
7
#ifdef _MSC_VER
8
#include <process.h>
9
#else
10
#include <unistd.h>
11
#endif
12
13
namespace
tools
{
14
15
inline
int
process_id
() {
16
return
static_cast<
int
>
(::getpid());
17
}
18
19
}
20
21
#endif
tools::process_id
int process_id()
Definition:
process:15
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
Generated by
1.8.20