Struct crossbeam::sync::MsQueue [−][src]
pub struct MsQueue<T> { /* fields omitted */ }Expand description
A Michael-Scott lock-free queue, with support for blocking pops.
Usable with any number of producers and consumers.
Implementations
Add t to the back of the queue, possibly waking up threads
blocked on pop.
Attempt to dequeue from the front.
Returns None if the queue is observed to be empty.
