Single Producer Single Consumer (SPSC) Queue
In this post I walk through a practical SPSC queue for C++. Queues show up everywhere; the standard library even ships a general‑purpose std::queue (built on std::deque by default). That industrial...
In this post I walk through a practical SPSC queue for C++. Queues show up everywhere; the standard library even ships a general‑purpose std::queue (built on std::deque by default). That industrial...
In a concurrent program, memory ordering describes the guarantees an implementation gives about the visibility and relative ordering of memory accesses performed by multiple threads. Modern compile...
Modern processors can run at different speeds (and voltages) depending on demand. Running at higher clock frequencies makes the CPU perform more operations per second but also draws more power and ...