aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/getpid.h
blob: 60e243266f108c9014cd7f83b9b9e32f311d989e (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();