summaryrefslogtreecommitdiffstats
path: root/util/system/getpid.h
blob: 906d21f3ede68e21eaf55a7a944ea05a52466c3c (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();