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

Function cbm_win_force_tree

src/foundation/subprocess.c:799–815  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799static void cbm_win_force_tree(cbm_subprocess_t *process, uint64_t now) {
800 if (process->force_sent) {
801 return;
802 }
803 if (process->force_started_ms == 0) {
804 process->force_started_ms = now;
805 }
806 if (TerminateJobObject(process->job, 1)) {
807 if (!process->root_reaped) {
808 process->root_forced = true;
809 }
810 process->result.forced = true;
811 process->force_sent = true;
812 } else {
813 process->containment_failed = true;
814 }
815}
816
817static void cbm_win_capture_root(cbm_subprocess_t *process, DWORD code) {
818 process->root_reaped = true;

Callers 1

cbm_subprocess_poll_winFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected