Add inlined current thread id on Linux and Android
This commit is contained in:
@@ -215,7 +215,6 @@ static int X11_MessageBoxInit(MessageBoxData* data)
|
||||
LINUX_DIALOG_PRINT("Couldn't load font %s", MessageBoxFont);
|
||||
data->font_set = X11::XCreateFontSet(data->display, "fixed", &missing, &num_missing, NULL);
|
||||
if (missing != nullptr) X11::XFreeStringList(missing);
|
||||
//return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -1792,11 +1791,6 @@ ProcessMemoryStats LinuxPlatform::GetProcessMemoryStats()
|
||||
return result;
|
||||
}
|
||||
|
||||
uint64 LinuxPlatform::GetCurrentThreadID()
|
||||
{
|
||||
return static_cast<uint64>(pthread_self());
|
||||
}
|
||||
|
||||
void LinuxPlatform::SetThreadPriority(ThreadPriority priority)
|
||||
{
|
||||
// TODO: impl this
|
||||
|
||||
Reference in New Issue
Block a user