Crate treiber_stack

Source

Structsยง

TreiberStack
A thread-safe, lockless, single-ended linked list using atomics to update the head node. Since this structure can be modified concurrently at all times, all operations that calculate size or retrieve contents are retrieving a snapshot-in-time of the state of the stack.
TreiberStackIterator
Iterator for a Treiber stack.