getpid.h 170 B

123456789101112
  1. #pragma once
  2. #include "platform.h"
  3. #include "types.h"
  4. #if defined(_win_)
  5. using TProcessId = ui32; // DWORD
  6. #else
  7. using TProcessId = pid_t;
  8. #endif
  9. TProcessId GetPID();