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

Method ReopenLog

library/cpp/logger/thread.cpp:94–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 inline void ReopenLog() {
95 TIntrusivePtr<TReopener> reopener(new TReopener(this));
96
97 if (!Queue_.Add(reopener.Get())) {
98 reopener->UnRef(); // Ref() was called in constructor
99 ythrow yexception() << "log queue exhausted";
100 }
101
102 reopener->Wait();
103 }
104
105 inline void ReopenLogNoFlush() {
106 Slave_->ReopenLogNoFlush();

Callers

nothing calls this directly

Calls 4

AddMethod · 0.45
GetMethod · 0.45
UnRefMethod · 0.45
WaitMethod · 0.45

Tested by

no test coverage detected