MCPcopy Create free account
hub / github.com/bwapi/bwapi / RegisterThreadName

Function RegisterThreadName

bwapi/BWAPI/Source/Thread.cpp:47–50  ·  view source on GitHub ↗

Function to register the name of a thread

Source from the content-addressed store, hash-verified

45
46// Function to register the name of a thread
47void 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
53void CheckRegisteredThreads()

Callers 3

PersistentPatchFunction · 0.85
WindowProcFunction · 0.85
_CreateThreadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected