#single-producer #single-consumer #lock-free #buffer #atomic

spsc-buffer

Single-producer single-consumer lock-free buffer

2 releases

Uses old Rust 2015

0.1.1 Dec 8, 2018
0.1.0 Dec 8, 2018

#961 in Concurrency

Download history 140/week @ 2024-07-23 437/week @ 2024-07-30 474/week @ 2024-08-06 679/week @ 2024-08-13 661/week @ 2024-08-20 622/week @ 2024-08-27 760/week @ 2024-09-03 1013/week @ 2024-09-10 557/week @ 2024-09-17 250/week @ 2024-09-24 202/week @ 2024-10-01 179/week @ 2024-10-08 150/week @ 2024-10-15 249/week @ 2024-10-22 500/week @ 2024-10-29 644/week @ 2024-11-05

1,567 downloads per month
Used in 3 crates (via mio-anonymous-pipes)

MIT license

8KB
146 lines

spsc-buffer

Simple lock-free single-producer single-consumer buffer using a single atomic.

No runtime deps