MCPcopy 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_backMethod · 0.45
sizeMethod · 0.45
pushMethod · 0.45
backMethod · 0.45

Tested by

no test coverage detected