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

Function subprocess_test_pause

tests/test_subprocess.c:251–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249#ifndef _WIN32
250
251static void subprocess_test_pause(void) {
252 const struct timespec delay = {0, 10000000L}; /* 10 ms */
253 (void)cbm_nanosleep(&delay, NULL);
254}
255
256static bool poll_until_terminal(cbm_subprocess_t *process, int timeout_ms, cbm_proc_result_t *out) {
257 uint64_t deadline = cbm_now_ms() + (uint64_t)timeout_ms;

Callers 5

poll_until_terminalFunction · 0.85
wait_for_tree_pidsFunction · 0.85
wait_pid_goneFunction · 0.85
wait_for_log_markerFunction · 0.85
test_subprocess.cFile · 0.85

Calls 1

cbm_nanosleepFunction · 0.85

Tested by

no test coverage detected