Expand description
A single-producer single-consumer concurrent queue
This module contains the implementation of an SPSC queue which can be used concurrently between two threads. This data structure is safe to use and enforces the semantics that there is one pusher and one popper.
Structsยง
- Queue
- The single-producer single-consumer queue. This structure is not cloneable, but it can be safely shared in an Arc if it is guaranteed that there is only one popper and one pusher touching the queue at any one point in time.