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

Method close_stdin

test/common/src/external/process_unix.cpp:470–477  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

468}
469
470void Process::close_stdin() noexcept {
471 std::scoped_lock lock(stdin_mutex);
472 if (stdin_fd) {
473 if (data.id > 0)
474 close(*stdin_fd);
475 stdin_fd.reset();
476 }
477}
478
479void Process::kill(bool force) noexcept {
480 std::scoped_lock lock(close_mutex);

Callers

nothing calls this directly

Calls 1

resetMethod · 0.45

Tested by

no test coverage detected