Explanation of two non-blocking shared-variable communication algorithms
Authors:
Open Access
- 1 November 2013
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 25 (6) , 893-931
Abstract
Simpson and Harris have described multi-slot algorithms implementing a single-place buffer, each operating without explicit hardware synchronisation mechanisms. Conventional refinement and proof techniques have explained that these algorithms work, but do not give convincing descriptions of how they work. An unconventional refinement process starting from the classic single-variable buffer, using both data and atomicity refinement and drawing information from unsuccessful steps, derives each algorithm. The logic used is RGSep, a marriage of rely/guarantee and concurrent separation logic. Extensive detailed verifications are described. The result is an explanation of how the algorithms work and some pointers to how such algorithms might be devised.Keywords
This publication has 21 references indexed in Scilit:
- x86-TSOCommunications of the ACM, 2010
- The semantics of x86-CC multiprocessor machine codeACM SIGPLAN Notices, 2009
- Relational separation logicTheoretical Computer Science, 2007
- Resources, concurrency, and local reasoningTheoretical Computer Science, 2007
- Role model analysis of an asynchronous communication mechanismIEE Proceedings - Computers and Digital Techniques, 1997
- Wait-free synchronizationACM Transactions on Programming Languages and Systems, 1991
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- The Mascot methodSoftware Engineering Journal, 1986
- Process synchronisation in MASCOTThe Computer Journal, 1979
- Assigning meanings to programs1967