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

Function cbm_subprocess_poll_log

src/foundation/subprocess.c:533–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533static cbm_tail_result_t cbm_subprocess_poll_log(cbm_subprocess_t *process, bool final) {
534 cbm_tail_result_t result = cbm_tail_log(process->log_file, &process->tail_pos,
535 process->on_log_line, process->log_ud, final);
536 if (result.progressed) {
537 process->last_activity_ms = cbm_now_ms();
538 }
539 return result;
540}
541
542static bool cbm_subprocess_cancellation_requested(const cbm_subprocess_t *process) {
543 return atomic_load_explicit(&process->lifecycle, memory_order_acquire) ==

Callers 1

cbm_subprocess_pollFunction · 0.85

Calls 2

cbm_tail_logFunction · 0.85
cbm_now_msFunction · 0.85

Tested by

no test coverage detected