jamesmunns/bbqueue
View on GitHub ↗ ★ 510 Rust
A SPSC, lockless, no_std, thread safe, queue, based on BipBuffers
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2020-12-01 · latest 2021-10-26
20082026
-
…nicely. James Munns has a fancy one written in Rust [1], and I have a ~100 line C template [2]. [1] https://github.com/jamesmunns/bbqueue [2] https://gist.github.com/ohazi/40746a16c7fea4593bd0b664638d70...
comment by ohazi · 2021-10-26 · in A bug that doesn’t exist on x86: Exploiting an ARM-only race condition -
I would be interested in what you think of something like BBQueue: https://github.com/jamesmunns/bbqueue
comment by bsder · 2021-07-20 · in A GPIO Driver in Rust -
…which is a bipbuffer-inspired lock-free ring buffer, intended for embedded systems and DMA usage. https://github.com/jamesmunns/bbqueue It uses atomics (and Rust's borrow checker) heavily to safely guarantee lock free behavior, and works…
comment by jamesmunns · 2020-12-01 · in ARM and Lock-Free Programming