-
Notifications
You must be signed in to change notification settings - Fork 0
Treiber Stack
Alina Bondarets edited this page Sep 1, 2022
·
6 revisions
Implementation here
- A Treiber lock-free stack with support for blocking pops.
- Usable with any number of producers and consumers.
- The stack is implemented as a singly linked list with a pointer to the top.
- Uses tagged pointers to avoid the ABA problem.
- Treiber stack: https://habr.com/ru/post/216013/
- Algorithm: https://people.csail.mit.edu/shanir/publications/Lock_Free.pdf
- Libcdc:
- Boost: