MCPcopy Create free account
hub / github.com/catboost/catboost / SetCurrentThreadName

Method SetCurrentThreadName

util/thread/pool.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void SetCurrentThreadName() {
44 if (EnumerateThreads) {
45 Set(TStringBuilder() << ThreadName << (Index++));
46 } else {
47 Set(ThreadName);
48 }
49 }
50
51 private:
52 void Set(const TString& name) {

Callers 2

DoExecuteMethod · 0.45
DoExecuteMethod · 0.45

Calls 2

SetClass · 0.50
TStringBuilderClass · 0.50

Tested by

no test coverage detected