#mpmc #queue #atomic #thread

yanked atomic_mpmc

Atomic Multi-Producer Multi-Consumer Queue

0.2.0 May 14, 2022
0.1.2 May 13, 2022
0.1.1 May 13, 2022
0.1.0 May 13, 2022

#69 in #mpmc

MIT/Apache

22KB
470 lines

Fast, atomic, multi-producer, multi-consumer queue.

It which supports multiple producers and consumers, even from different threads. It functions as a FIFO queue in a fixed circular buffer. The Sender and Receiver types are used to send and receive values, and they implement Send, Sync, and Clone.

The channel function is used to create a channel.


atomic_mpmc

Latest Version Rust Documentation

This library provides a concurrent, atomic, multi-producer, multi-consumer channel.

Dependencies

~2–7.5MB
~54K SLoC