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

Method OnChild

library/cpp/yt/threading/at_fork.cpp:94–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92 }
93
94 void OnChild()
95 {
96 ForkLock_.ReleaseWriter();
97 IterateAtForkHandlerSets([] (const TAtForkHandlerSet& set) {
98 if (set.Child) {
99 set.Child();
100 }
101 });
102 }
103
104 template <class F>
105 void IterateAtForkHandlerSets(F func)

Callers 1

TAtForkManagerMethod · 0.80

Calls 2

ReleaseWriterMethod · 0.45
ChildMethod · 0.45

Tested by

no test coverage detected