News for hackers. Stuff that matters.
Re:Optimizing a Ring Buffer for Throughput by dnedic on Tuesday June 27, 2023 @04:55AM (#36490506)
If you want more than a spsc queue, I've written `lockfree`, a collection of SPSC and MPMC data structures along the same principles the author here used:https://github.com/DNedic/lockfree.

The library is written in standard C++11 (but additional API's for higher C++ versions have been added), uses no dynamic allocation and is configurable so it is both big metal and deeply embedded friendly.

There are no comments on this comment yet.