Under the same seam an inline rejection's drain ends only on the peer's * close, never on the 250 ms bound (the drain only waits on Windows). */
| 2022 | /* Under the same seam an inline rejection's drain ends only on the peer's |
| 2023 | * close, never on the 250 ms bound (the drain only waits on Windows). */ |
| 2024 | static uint32_t runtime_reject_drain_timeout_ms(void) { |
| 2025 | #ifdef CBM_ENABLE_TEST_SEAMS |
| 2026 | if (atomic_load(&runtime_hold_peer_waits_seam)) { |
| 2027 | return CBM_DAEMON_IPC_WAIT_FOREVER; |
| 2028 | } |
| 2029 | #endif |
| 2030 | return RUNTIME_REJECT_DRAIN_TIMEOUT_MS; |
| 2031 | } |
| 2032 | |
| 2033 | static void *runtime_connection_worker(void *opaque) { |
| 2034 | cbm_daemon_runtime_worker_t *worker = opaque; |
no outgoing calls
no test coverage detected