MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / sigterm_target

Function sigterm_target

tests/system_test/signal_test.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27// ---------------------------------------------------------------------------
28
29void sigterm_target(void* /*arg*/) {
30 // Sleep long enough for the parent to send SIGTERM
31 (void)sys_sleep(5000);
32 // Should never reach here -- SIGTERM default action terminates
33 sys_exit(0);
34}
35
36void test_sigterm_default(void* /*arg*/) {
37 klog::Info("=== Signal: SIGTERM Default Test ===");

Callers

nothing calls this directly

Calls 2

sys_sleepFunction · 0.85
sys_exitFunction · 0.85

Tested by

no test coverage detected