#include "getcurrentprocessorid.h" #include int32_t GetCurrentProcessId() { pid_t pid = getpid(); return static_cast(pid); }