Function devices::virtio::create_stop_oneshot  
source ยท pub(crate) fn create_stop_oneshot(tx_vec: &mut Vec<Sender<()>>) -> Receiver<()>Expand description
Creates a oneshot channel, returning the rx end and adding the tx end to the
provided Vec. Useful for creating oneshots that signal a virtqueue future
to stop processing and exit.