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