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

Method Flock

util/system/file.cpp:1139–1143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137 }
1138
1139 void Flock(int op) {
1140 if (0 != Handle_.Flock(op)) {
1141 ythrow TFileError() << "can't flock " << FileName_.Quote();
1142 }
1143 }
1144
1145 void SetDirect() {
1146 if (!Handle_.SetDirect()) {

Callers

nothing calls this directly

Calls 1

FlockMethod · 0.45

Tested by

no test coverage detected