MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_posix_group_active

Function cbm_posix_group_active

src/foundation/subprocess.c:1246–1251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1244}
1245
1246static bool cbm_posix_group_active(cbm_subprocess_t *process) {
1247 if (kill(-process->pgid, 0) == 0) {
1248 return true;
1249 }
1250 return errno != ESRCH; /* EPERM/other errors fail closed as still active */
1251}
1252
1253static void cbm_posix_begin_termination(cbm_subprocess_t *process, uint64_t now) {
1254 if (process->termination_started) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected