MCPcopy Create free account
hub / github.com/MonaSolutions/MonaServer / SetCurrentThreadName

Method SetCurrentThreadName

MonaBase/sources/Util.cpp:131–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131void Util::SetCurrentThreadName(const char* name) {
132 SetCurrentThreadDebugName(name);
133 THREAD_ID id(CurrentThreadId());
134 lock_guard<recursive_mutex> lock(_MutexThreadNames);
135 _ThreadNames[id].assign(name);
136}
137
138UInt8 Util::Get7BitValueSize(UInt64 value) {
139 UInt64 limit = 0x80;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected