#include "getcurrentthreadid.h" #include #include HANDLE GetCurrentThreadId() { pid_t tid = pthread_self(); return reinterpret_cast(tid); }