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

Method terminate

test/common/src/process.cpp:61–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61void process_manager_t::terminate() {
62 std::scoped_lock lock{process_mutex_};
63 if (process_) {
64#ifdef __linux__
65 process_->signal(SIGTERM);
66#else
67 process_->kill();
68#endif
69 }
70}
71
72// ----------------------------------------------------------------------------
73// PROCESS GROUP

Callers 2

stopMethod · 0.45
force_stopMethod · 0.45

Calls 2

signalMethod · 0.80
killMethod · 0.45

Tested by

no test coverage detected