| 249 | #ifndef _WIN32 |
| 250 | |
| 251 | static void subprocess_test_pause(void) { |
| 252 | const struct timespec delay = {0, 10000000L}; /* 10 ms */ |
| 253 | (void)cbm_nanosleep(&delay, NULL); |
| 254 | } |
| 255 | |
| 256 | static 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; |
no test coverage detected