Practical Lock-Free Implementation of LL/SC Using Only Pointer-size CAS

Hui Gao, Yan Fu, Wim H. Hesselink

Research output: Chapter in Book/Report/Conference proceedingChapterAcademic

2 Citations (Scopus)
495 Downloads (Pure)

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 languageEnglish
Title of host publicationEPRINTS-BOOK-TITLE
PublisherUniversity of Groningen, Johann Bernoulli Institute for Mathematics and Computer Science
Number of pages4
ISBN (Print)9781424449095
Publication statusPublished - 2009

Fingerprint

Dive into the research topics of 'Practical Lock-Free Implementation of LL/SC Using Only Pointer-size CAS'. Together they form a unique fingerprint.

Cite this