Inter-process buffers in separation logic with rely-guarantee
Open Access
- 1 November 2010
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Formal Aspects of Computing
- Vol. 22 (6) , 735-772
Abstract
Separation logic allows simple proofs of concurrent algorithms which use blocking mechanisms such as semaphores. It can even deal with non-blocking algorithms. With the addition of mechanisms borrowed from rely-guarantee, we can make reasonably simple proofs of some simple non-blocking algorithms. We show that it extends to proofs of some intricate algorithms, including Simpson’s famous asynchronous four-slot buffer and Harris’s novel three-slot algorithm, in a manner that is arguably simpler than earlier treatments, though we cannot claim that we have yet found proofs that are as simple as we would wish. Our example proofs show functional correctness but do not deal with questions of liveness.Keywords
This publication has 30 references indexed in Scilit:
- Resources, concurrency, and local reasoningTheoretical Computer Science, 2007
- A semantics for concurrent separation logicTheoretical Computer Science, 2007
- Liveness Checking as Safety Checking for Infinite State SpacesElectronic Notes in Theoretical Computer Science, 2006
- Hazard pointers: safe memory reclamation for lock-free objectsIEEE Transactions on Parallel and Distributed Systems, 2004
- Role model analysis of an asynchronous communication mechanismIEE Proceedings - Computers and Digital Techniques, 1997
- New algorithms for asynchronous communicationIEE Proceedings - Computers and Digital Techniques, 1997
- Wait-free synchronizationACM Transactions on Programming Languages and Systems, 1991
- Verifying properties of parallel programsCommunications of the ACM, 1976
- Concurrent control with “readers” and “writers”Communications of the ACM, 1971
- An axiomatic basis for computer programmingCommunications of the ACM, 1969