#atomic #queue #mpmc #thread #mpmc-queue #send-sync

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

#16 in #mpmc-queue

MIT/Apache

22KB
470 lines

atomic_mpmc

Latest Version Rust Documentation

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


lib.rs:

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.

Dependencies

~2–6.5MB
~53K SLoC