ResearchTrend.AI
  • Papers
  • Communities
  • Events
  • Blog
  • Pricing
Papers
Communities
Social Events
Terms and Conditions
Pricing
Parameter LabParameter LabTwitterGitHubLinkedInBlueskyYoutube

© 2025 ResearchTrend.AI, All rights reserved.

  1. Home
  2. Papers
  3. 2305.07229
13
4

A Wait-free Queue with Polylogarithmic Step Complexity

12 May 2023
Hossein Naderibeni
Eric Ruppert
    VLM
    LRM
ArXivPDFHTML
Abstract

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 Ω(p)\Omega(p)Ω(p) per operation in worst-case executions, where ppp is the number of processes that access the queue. Our new wait-free queue takes O(log⁡p)O(\log p)O(logp) steps per enqueue and O(log⁡2p+log⁡q)O(\log^2 p +\log q)O(log2p+logq) steps per dequeue, where qqq is the size of the queue. A bounded-space version of the implementation has O(log⁡plog⁡(p+q))O(\log p \log(p+q))O(logplog(p+q)) amortized step complexity per operation.

View on arXiv
Comments on this paper