| 1810 | } |
| 1811 | |
| 1812 | static bool cbm_posix_group_active(cbm_subprocess_t *process) { |
| 1813 | if (kill(-process->pgid, 0) == 0) { |
| 1814 | return true; |
| 1815 | } |
| 1816 | return errno != ESRCH; /* EPERM/other errors fail closed as still active */ |
| 1817 | } |
| 1818 | |
| 1819 | static void cbm_posix_begin_termination(cbm_subprocess_t *process, uint64_t now) { |
| 1820 | if (process->termination_started) { |
no outgoing calls
no test coverage detected