Skip to main content
Log in

Scalable Room Synchronizations

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

This paper presents a scalable solution to the group mutual exclusion problem, with applications to linearizable stacks and queues, and related problems. Our solution allows entry and exit from the mutually exclusive regions in $O(t_r + \tau)$ time, where $t_r$ is the maximum time spent in a critical region by a user, and $\tau$ is the maximum time taken by any instruction, including a fetch-and-add instruction. This bound holds regardless of the number of users. We describe how stacks and queues can be implemented using two regions, one for pushing (enqueueing) and one for popping (dequeueing). These implementations are particularly simple, are linearizable, and support access in time proportional to a fetch-and-add operation. In addition, we present experimental results comparing room synchronizations with the Keane–Moir algorithm for group mutual exclusion.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Guy E. Blelloch, Perry Cheng or Phillip B. Gibbons.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Blelloch, ., Cheng, P. & Gibbons, P. Scalable Room Synchronizations. Theory Comput Systems 36, 397–430 (2003). https://doi.org/10.1007/s00224-003-1081-y

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-003-1081-y

Keywords

Navigation