mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-18 02:48:28 +00:00
13 lines
459 B
C
13 lines
459 B
C
#pragma once
|
|
|
|
#include <mutex>
|
|
|
|
// Note that name must be a global string that lives until the end of the process,
|
|
// for AssertCurrentThreadName to work.
|
|
void SetCurrentThreadName(const char *threadName);
|
|
void AssertCurrentThreadName(const char *threadName);
|
|
|
|
// Just gets a cheap thread identifier so that you can see different threads in debug output,
|
|
// exactly what it is is badly specified and not useful for anything.
|
|
int GetCurrentThreadIdForDebug();
|