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

Function cbm_subprocess_poll_log

src/foundation/subprocess.c:781–788  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781static cbm_tail_result_t cbm_subprocess_poll_log(cbm_subprocess_t *process, bool final) {
782 cbm_tail_result_t result = cbm_tail_log(process->log_file, &process->tail_pos,
783 process->on_log_line, process->log_ud, final);
784 if (result.progressed) {
785 process->last_activity_ms = cbm_now_ms();
786 }
787 return result;
788}
789
790static bool cbm_subprocess_cancellation_requested(const cbm_subprocess_t *process) {
791 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