Sets the debugger-visible name of the current thread.
| 84 | #ifdef _MSC_VER |
| 85 | |
| 86 | // Sets the debugger-visible name of the current thread. |
| 87 | void SetCurrentThreadName(const char* name) { |
| 88 | SetThreadDescription(GetCurrentThread(), UTF8ToUTF16W(name).data()); |
| 89 | #if defined(CITRON_ENABLE_TRACY) && CITRON_ENABLE_TRACY |
| 90 | tracy::SetThreadName(name); |
| 91 | #endif |
no test coverage detected