What Can Be Done with Consensus Number One: Relaxed Queues and Stacks

05/11/2020
by   Armando Castañeda, et al.
0

Sequentially specified linearizable concurrent data structures must be relaxed in order to support scalability. In this work, we identify and formally define relaxations of queues and stacks that can be non-blocking or wait-free implemented using only read/write operations. We use set-linearizability to specify the relaxations formally, and precisely identify the subset of executions which preserve the original sequential behavior. The relaxations allow for an item to be extracted more than once by different operations, but only in case of concurrency; we call such a property multiplicity. The stack implementation is wait-free, while the queue implementation is non-blocking. We also use interval-linearizability to describe a queue with multiplicity, with the additional and new relaxation that a dequeue operation can return weak-empty, which means that the queue might be empty. We present a read/write wait-free implementation of the interval-sequential queue. As far as we know, this work is the first that provides simple and clear formalizations of the notions of multiplicity and weak-emptiness, which can be implemented from read/write registers only.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/12/2022

Generalized Wake-Up: Amortized Shared Memory Lower Bounds for Linearizable Data Structures

In this work, we define the generalized wake-up problem, GWU(s), for a s...
research
05/12/2022

Modular Baskets Queue

A modular version of the baskets queue of Hoffman, Shalev and Shavit is ...
research
05/12/2023

A Wait-free Queue with Polylogarithmic Step Complexity

We present a novel linearizable wait-free queue implementation using sin...
research
05/17/2021

A Neat Linked Queue with the Rear Sentinel

We introduce a very simple queue implementation with the singly linked l...
research
07/18/2017

On Thin Air Reads: Towards an Event Structures Model of Relaxed Memory

This is the first paper to propose a pure event structures model of rela...
research
05/18/2021

Durable Queues: The Second Amendment

We consider durable data structures for non-volatile main memory, such a...
research
01/03/2022

Lock-Free Locks Revisited

This paper presents a new and practical approach to lock-free locks base...

Please sign up or login with your details

Forgot password? Click here to reset