g4tools
5.4.0
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