aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/getpid.h
blob: 8f86d6712df50573731116d13543fee0d684a28e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include "platform.h" 
#include "types.h" 

#if defined(_win_) 
using TProcessId = ui32; // DWORD 
#else 
using TProcessId = pid_t; 
#endif 
 
TProcessId GetPID();