Skip to main content

drain_ctl

Function drain_ctl 

Source
fn drain_ctl(
    rx: &Receiver<ToHost>,
    generation: u64,
    free: &mut Vec<usize>,
    want: &mut Option<Want>,
) -> Ctl
Expand description

Drain the control channel from inside a capture wait: releases are applied (generation-checked), and the newest Start/Idle decides the wait’s fate.