Abstract
The significant benefit of lock (or wait)-freedom for real-time systems is that by avoiding locks the potentials for deadlock and priority inversion are avoided. The lock-free algorithms often require the use of special atomic processor instructions such as CAS (compare and swap) or LL/SC (load linked/store conditional). However, many machine architectures support either CAS or LL/SC with restricted semantics. In this paper, we present a Practical lock-free implementation of the ideal semantics of LL/SC using only pointer-size CAS. To ensure our implementation is not flawed, we used the higher-order interactive theorem prover PVS for mechanical support.
Original language | English |
---|---|
Title of host publication | EPRINTS-BOOK-TITLE |
Publisher | University of Groningen, Johann Bernoulli Institute for Mathematics and Computer Science |
Number of pages | 4 |
ISBN (Print) | 9781424449095 |
Publication status | Published - 2009 |