MCPcopy Create free account
hub / github.com/ashaduri/gsmartcontrol / cmdex_on_term_timeout

Function cmdex_on_term_timeout

src/applib/async_command_executor.cpp:68–74  ·  view source on GitHub ↗

Child process termination timeout handler

Source from the content-addressed store, hash-verified

66
67 /// Child process termination timeout handler
68 inline gboolean cmdex_on_term_timeout(gpointer data)
69 {
70 DBG_FUNCTION_ENTER_MSG;
71 auto* self = static_cast<AsyncCommandExecutor*>(data);
72 self->try_stop(hz::Signal::Terminate);
73 return FALSE; // one-time call
74 }
75
76
77 /// Child process kill timeout handler

Callers

nothing calls this directly

Calls 1

try_stopMethod · 0.45

Tested by

no test coverage detected