Autonomous Agent Lock-Free Treiber Stack with Atomic Compare-and-Swap (CAS) & ABA Mitigation
-
Updated
Sep 9, 2026 - Python
Autonomous Agent Lock-Free Treiber Stack with Atomic Compare-and-Swap (CAS) & ABA Mitigation
A lock-free concurrency library in C++20: SPSC and MPSC queues built from atomics, not std::mutex, with every memory ordering written out and justified, plus hazard pointers and epoch-based reclamation on a Treiber stack.
Deterministic simulator of the ABA problem in a Treiber-style stack, comparing pointer-only and tagged CAS with bounded interleaving exploration, invariant checks, and SVG timelines.
To associate your repository with the treiber-stack topic, visit your repo's landing page and select "manage topics."