We present a novel linearizable wait-free queue implementation using single-word CAS instructions. Previous lock-free queue implementations from CAS all have amortized step complexity of per operation in worst-case executions, where is the number of processes that access the queue. Our new wait-free queue takes steps per enqueue and steps per dequeue, where is the size of the queue. A bounded-space version of the implementation has amortized step complexity per operation.
View on arXiv