Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
DoExecute
Method · 0.45
DoExecute
Method · 0.45
Calls
2
Set
Class · 0.50
TStringBuilder
Class · 0.50
Tested by
no test coverage detected