A simple local-spin group mutual exclusion algorithm

Authors
Citation
P. Keane et M. Moir, A simple local-spin group mutual exclusion algorithm, IEEE PARALL, 12(7), 2001, pp. 673-685
Citations number
20
Categorie Soggetti
Computer Science & Engineering
Journal title
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS
ISSN journal
10459219 → ACNP
Volume
12
Issue
7
Year of publication
2001
Pages
673 - 685
Database
ISI
SICI code
1045-9219(200107)12:7<673:ASLGME>2.0.ZU;2-5
Abstract
This paper presents a new solution to the group mutual exclusion problem re cently Posed by Joung. In this problem, processes repeatedly request access to various "sessions." It is required that distinct processes are not in d ifferent sessions concurrently, that multiple processes may be in the same session concurrently, and that each process that tries to enter a session i s eventually able to do so. This problem is a generalization of the mutual exclusion and readers-writers problems. Our algorithm and its correctness p roof are substantially simpler than Joung's. This simplicity is achieved by building upon known solutions to the more specific mutual exclusion proble m. Our algorithm also has various advantages over Joung's, depending on the choice of mutual exclusion algorithm used. These advantages include admitt ing a process to its session in constant time in the absence of contention, spinning locally in Cache Coherent (CC) and Nonuniform Memory Access (NUMA ) systems, and improvements in the complexity measures proposed by Joung.