Abstract
The problem is to let n processes concurrently and repeatedly search for free addresses in a range of m addresses. The search must be wait-free: a searching process finds an address in a bounded number of steps. Three solutions are presented. The first one has large atomic actions. The second one is only correct if m ≧ (r + 1) · n where r is the maximum number of used addresses. The third solution is always partially correct. It is wait-free if m > r + 2 · n. This solution has a worst-case waiting time quadratic in n and an amortized waiting time linear in n, even linear in the number of active processes.
Similar content being viewed by others
References
Apt, K.R., Olderog, E.-R.: Verification of sequential and concurrent programs. New York: Springer 1991
Attiya, H., Bar-Noy, A., Dolev, D., Peleg, D., Reischuk, R.: Renaming in an asynchronous environment. J. ACM 37 (1990) 524–548
Back, R.J.R., Sere, K.: Stepwise refinement of action systems. In: J.L.A. van de Snepscheut (ed.): Mathematics of Program Construction (Lect. Notes Comput. Sci., vol. 375, pp. 115–138) Berlin, Springer: 1989
Bar-Noy A., Dolev, D.: Shared-memory vs. message-passing in an asynchronous distributed environment. In Proc. 8th ACM Symp. on principles of distributed computing, pp. 307–318, 1989
Borowsky, E., Gafni, A.: Immediate snapshots and fast renaming. In: Proc. 12th ACM Symp. on principles of distributed computing, pp. 41–52, 1993
Boyer, R.S., Moore, J.: A computational logic handbook. Boston: Academic Press 1988
Chandy, K.M., Misra, J.: Parallel program design, a foundation. Reading, MA: Addison-Wesley 1988
Dijkstra, E.W.: A class of allocation strategies inducing bounded delays only. Tech. Rept., Tech. Univ. Eindhoven, EWD 319, 1971
Herlihy, M.P., Wait-free synchronization. ACM Trans. Program. Languages Systems. 13 (1991) 124–149
Hesselink, W.H.: Wait-free linearization with an assertional proof. Distributed Computing 8 (1994) 65–80
Hesselink, W.H.: Wait-free linearization with an mechanical proof. Computing Science Notes Groningen CS 9306, to appear in Distributed Computing
Owicki, S., Gries, D.: An axiomatic proof technique for parallel programs. Acta Inform. 6 (1976) 319–340
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Hesselink, W.H. Bounded delay for a free address. Acta Informatica 33, 233–254 (1996). https://doi.org/10.1007/s002360050042
Received:
Issue Date:
DOI: https://doi.org/10.1007/s002360050042