Abstract
In an anonymous shared memory system, all inter-process communications are via shared objects; however, unlike in standard systems, there is no a priori agreement between processes on the names of shared objects [14, 15]. Furthermore, the algorithms are required to be symmetric; that is, the processes should execute precisely the same code, and the only way to distinguish processes is by comparing identifiers for equality. For such a system, read/write registers are called anonymous registers. It is known that symmetric deadlock-free mutual exclusion is solvable for any finite number of processes using anonymous registers [1]. The main question left open in [14, 15] is the existence of starvation-free mutual exclusion algorithms for two or more processes. We resolve this open question for memoryless algorithms, in which a process that tries to enter its critical section does not use any information about its previous attempts. Almost all known mutual exclusion algorithms are memoryless. We show that, 1. There is a symmetric memoryless starvation-free mutual exclusion algorithm for two processes using m ≥ 7 anonymous registers if and only if m is odd. 2. There is no symmetric memoryless starvation-free mutual exclusion algorithm for n ≥ 3 processes using (any number of) anonymous registers. Our impossibility result is the only example of a system with fault-free processes, where global progress (i.e., deadlock-freedom) can be ensured, while individual progress to each process (i.e., starvation-freedom) cannot. It complements a known result for systems with failure-prone processes, that there are objects with lock-free implementations but without wait-free implementations [2, 5].
Original language | English |
---|---|
Title of host publication | 37th International Symposium on Distributed Computing, DISC 2023 |
Editors | Rotem Oshman |
Publisher | Schloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing |
Pages | 33:1-33:17 |
Number of pages | 17 |
ISBN (Electronic) | 9783959773010 |
DOIs | |
State | Published - Oct 2023 |
Externally published | Yes |
Event | 37th International Symposium on Distributed Computing, DISC 2023 - L'Aquila, Italy Duration: 10 Oct 2023 → 12 Oct 2023 |
Publication series
Name | Leibniz International Proceedings in Informatics, LIPIcs |
---|---|
Volume | 281 |
ISSN (Print) | 1868-8969 |
Conference
Conference | 37th International Symposium on Distributed Computing, DISC 2023 |
---|---|
Country/Territory | Italy |
City | L'Aquila |
Period | 10/10/23 → 12/10/23 |
Bibliographical note
Publisher Copyright:© Gadi Taubenfeld; licensed under Creative Commons License CC-BY 4.0.
Keywords
- anonymous registers
- anonymous shared memory
- memory-anonymous algorithms
- starvation-free mutual exclusion