Abstract
Resource sharing for asynchronous processors with mutual exclusion property is a fundamental task in distributed computing. We investigate the problem in a natural setting: for the communications between processors, they only share several queues supporting enqueue and dequeue operations. It is well-known that there is a very simple algorithm using only one queue when the queue also supports the peek operation, but it is still open whether we could implement mutual exclusion distributed system without the peek operation. In this paper, we propose two mutual exclusion starvation-free algorithms for this more restricted setting. The first algorithm is a protocol for arbitrary number of processors which share 2 queues; the second one is a protocol for 2 processors sharing only one queue.
This work was supported in part by the National Basic Research Program of China Grant 2011CBA00300, 2011CBA00301, the National Natural Science Foundation of China Grant 61033001, 61061130540.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Dijkstra, E.W.: Solution of a problem in concurrent programming control. CACM 8(9), 569 (1965)
Lamport, L.: A new solution of Dijkstra’s concurrent programming problem. CACM 17(8), 453–455 (1974)
Raynal, M.: Algorithms for mutual exclusion (1986)
Herlihy, M.: Wait-free synchronization. ACM Transactions on Programming Languages and Systems (TOPLAS) 13(1), 124–149 (1991)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Wang, J., Wang, Z. (2014). Mutual Exclusion Algorithms in the Shared Queue Model. In: Chatterjee, M., Cao, Jn., Kothapalli, K., Rajsbaum, S. (eds) Distributed Computing and Networking. ICDCN 2014. Lecture Notes in Computer Science, vol 8314. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-45249-9_3
Download citation
DOI: https://doi.org/10.1007/978-3-642-45249-9_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-45248-2
Online ISBN: 978-3-642-45249-9
eBook Packages: Computer ScienceComputer Science (R0)