Module mpsc

Source
Expand description

Provides a Multi-Producer, Single-Consumer Event-Queue implementation.

Structs§

MpscEventReceiver
Provides the EventReceiver half of the event queue created by event_queue().
MpscEventSender
Provides the EventSender half of the event queue created by event_queue().

Functions§

event_queue
Creates a new mpsc sender / receiver pair.