Registry / other / spscqueue

spscqueue

JSON →
library1.1vcpkgunverified

A bounded single-producer single-consumer wait-free and lock-free queue written in C++11

other
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

#include <spscqueue/SPSCQueue.h>

Push and pop an integer from a bounded SPSC queue

#include <spscqueue/SPSCQueue.h> #include <iostream> int main() { SPSCQueue<int> queue(1024); queue.push(42); int value; if (queue.pop(value)) { std::cout << "Popped: " << value << std::endl; } return 0; }
Debug
Known footguns
gotchaOnly supports single producer and single consumer; using multiple producers or consumers leads to data races
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
0 hits · last 30 days

No traffic data recorded yet.

Resources

No resource links recorded.