MCPcopy Create free account
hub / github.com/amwatson/CitraVR / SetCurrentThreadName

Function SetCurrentThreadName

src/common/thread.cpp:86–88  ·  view source on GitHub ↗

Sets the debugger-visible name of the current thread.

Source from the content-addressed store, hash-verified

84
85// Sets the debugger-visible name of the current thread.
86void SetCurrentThreadName(const char* name) {
87 SetThreadDescription(GetCurrentThread(), UTF8ToUTF16W(name).data());
88}
89
90#else // !MSVC_VER, so must be POSIX threads
91

Callers 5

StatefulThreadWorkerMethod · 0.85
ImplMethod · 0.85
StartBackendThreadMethod · 0.85
WorkerThreadMethod · 0.85
PresentThreadMethod · 0.85

Calls 3

UTF8ToUTF16WFunction · 0.85
GetLastErrorMsgFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected