Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ with_lock
Method
with_lock
util/system/atexit.cpp:65–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
64
inline void Register(TAtExitFunc func, void* ctx, size_t priority) {
65
with_lock (Lock_) {
66
Store_.push_back({func, ctx, priority, Store_.size()});
67
Items_.push(&Store_.back());
68
}
69
}
70
71
inline bool FinishStarted() const {
Callers
nothing calls this directly
Calls
4
push_back
Method · 0.45
size
Method · 0.45
push
Method · 0.45
back
Method · 0.45
Tested by
no test coverage detected