Hacker News new | ask | show | jobs
by asgeirn 493 days ago
I wrote this guy a few years back. It's lock free for both consumers and producers. Blocking variants are also available, but with significantly poorer performance.

https://github.com/asgeirn/circular-buffer