Struct crossbeam::sync::TreiberStack [−][src]
pub struct TreiberStack<T> { /* fields omitted */ }Expand description
Treiber’s lock-free stack.
Usable with any number of producers and consumers.
Implementations
Create a new, empty stack.
Attempt to pop the top element of the stack. Deprecated method, use try_pop
Returns None if the stack is observed to be empty.
Attempt to pop the top element of the stack.
Returns None if the stack is observed to be empty.
