Add inlined current thread id on Linux and Android

This commit is contained in:
Wojtek Figat
2022-01-11 13:24:53 +01:00
parent 495b309736
commit dafa6bff2e
4 changed files with 10 additions and 13 deletions

View File

@@ -709,11 +709,6 @@ ProcessMemoryStats AndroidPlatform::GetProcessMemoryStats()
return result;
}
uint64 AndroidPlatform::GetCurrentThreadID()
{
return static_cast<uint64>(pthread_self());
}
void AndroidPlatform::SetThreadPriority(ThreadPriority priority)
{
// TODO: impl this