#circular-buffer #send-sync #lock-free #atomic #scenario #solely

scbuf

scbuf (sync circular buffer) is a Send and Sync, lock-free circular buffer implementation

2 releases

Uses old Rust 2015

0.1.1 Mar 8, 2023
0.1.0 Mar 1, 2023

#1 in #solely

22 downloads per month

MIT license

17KB
290 lines

scbuf

scbuf (sync circular buffer) is a Send and Sync, lock-free circular buffer implementation.

In the single-producer, single-consumer scenario, it relies solely on atomics for synchronization. See new_scbuf for multiple-producer/consumer usage.


lib.rs:

scbuf

scbuf (sync circular buffer) is a Send and Sync, lock-free circular buffer implementation.

In the single-producer, single-consumer scenario, it relies solely on atomics for synchronization. See new_scbuf for multiple-producer/consumer usage.

No runtime deps