Function devices::virtio::snd::vios_backend::shm_vios::spawn_recv_thread
source · fn spawn_recv_thread(
tx_subscribers: Arc<Mutex<HashMap<usize, Sender<BufferReleaseMsg>>>>,
rx_subscribers: Arc<Mutex<HashMap<usize, Sender<BufferReleaseMsg>>>>,
event_notifier: Event,
event_queue: Arc<Mutex<VecDeque<virtio_snd_event>>>,
state: Arc<Mutex<ThreadFlags>>,
tx_socket: UnixSeqpacket,
rx_socket: UnixSeqpacket,
event_socket: UnixSeqpacket
) -> WorkerThread<Result<(), Error>>