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

Method Close

util/system/shellcommand.cpp:133–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131 }
132
133 bool Close() noexcept {
134 bool ok = true;
135 if (Fd_ != INVALID_REALPIPEHANDLE) {
136 ok = CloseHandle(Fd_);
137 }
138 Fd_ = INVALID_REALPIPEHANDLE;
139 return ok;
140 }
141
142 inline REALPIPEHANDLE Release() noexcept {
143 REALPIPEHANDLE ret = Fd_;

Callers 6

PrepareParentsMethod · 0.45
TerminateIsRequiredMethod · 0.45
ReadStreamMethod · 0.45
WriteStreamMethod · 0.45
OnForkMethod · 0.45
CommunicateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected