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

Method OnPrepare

library/cpp/yt/threading/at_fork.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71 }
72
73 void OnPrepare()
74 {
75 IterateAtForkHandlerSets([] (const TAtForkHandlerSet& set) {
76 if (set.Prepare) {
77 set.Prepare();
78 }
79 });
80 ForkLock_.AcquireWriter();
81 }
82
83
84 void OnParent()

Callers 1

TAtForkManagerMethod · 0.80

Calls 2

PrepareMethod · 0.80
AcquireWriterMethod · 0.45

Tested by

no test coverage detected