MCPcopy Create free account
hub / github.com/COVESA/vsomeip / close_stdin

Method close_stdin

test/common/src/external/process_win.cpp:361–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359}
360
361void Process::close_stdin() noexcept {
362 std::scoped_lock lock(stdin_mutex);
363 if (stdin_fd) {
364 if (*stdin_fd != nullptr)
365 CloseHandle(*stdin_fd);
366 stdin_fd.reset();
367 }
368}
369
370// Based on http://stackoverflow.com/a/1173396
371void Process::kill(bool /*force*/) noexcept {

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected