#include #include __forceinline void SM_Sleep() { Sleep(1); } __forceinline size_t SM_GetCurrentThreadId() { return std::hash()(std::this_thread::get_id()); } __forceinline u32 SM_GetCurrentCPUThreadId() { if (CPUThread* t = GetCurrentCPUThread()) { return t->GetId(); } return 0; } __forceinline be_t SM_GetCurrentCPUThreadIdBE() { return SM_GetCurrentCPUThreadId(); }