MCPcopy Create free account
hub / github.com/canonical/multipass / UnixSignalHandler

Method UnixSignalHandler

src/daemon/daemon_main.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81{
82public:
83 UnixSignalHandler()
84 : signal_handling_thread{
85 [this, sigs = mpp::make_and_block_signals({SIGTERM, SIGINT, SIGUSR1})] { monitor_signals(sigs); }}
86 {
87 }
88
89 ~UnixSignalHandler()
90 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected