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

Function cbm_win_force_tree

src/foundation/subprocess.c:1174–1190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174static void cbm_win_force_tree(cbm_subprocess_t *process, uint64_t now) {
1175 if (process->force_sent) {
1176 return;
1177 }
1178 if (process->force_started_ms == 0) {
1179 process->force_started_ms = now;
1180 }
1181 if (TerminateJobObject(process->job, 1)) {
1182 if (!process->root_reaped) {
1183 process->root_forced = true;
1184 }
1185 process->result.forced = true;
1186 process->force_sent = true;
1187 } else {
1188 process->containment_failed = true;
1189 }
1190}
1191
1192static void cbm_win_capture_root(cbm_subprocess_t *process, DWORD code) {
1193 process->root_reaped = true;

Callers 1

cbm_subprocess_poll_winFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected