Function to register the name of a thread
| 45 | |
| 46 | // Function to register the name of a thread |
| 47 | void RegisterThreadName(const char *threadName, unsigned threadId) |
| 48 | { |
| 49 | threadNames[threadId == ~0 ? GetCurrentThreadId() : threadId] = threadName; |
| 50 | } |
| 51 | |
| 52 | // Function to check if a debugger is present, and then set the names of all registered threads if it is so |
| 53 | void CheckRegisteredThreads() |
no outgoing calls
no test coverage detected