pub fn gate(outputs: &mut [ProcBuf]) -> ProcBuf