Liveness-preserving atomicity abstraction

  • Authors:
  • Alexey Gotsman;Hongseok Yang

  • Affiliations:
  • IMDEA Software Institute;University of Oxford

  • Venue:
  • ICALP'11 Proceedings of the 38th international conference on Automata, languages and programming - Volume Part II
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modern concurrent algorithms are usually encapsulated in libraries, and complex algorithms are often constructed using libraries of simpler ones. We present the first theorem that allows harnessing this structure to give compositional liveness proofs to concurrent algorithms and their clients. We show that, while proving a liveness property of a client using a concurrent library, we can soundly replace the library by another one related to the original library by a generalisation of a well-known notion of linearizability. We apply this result to show formally that lock-freedom, an often-used liveness property of non-blocking algorithms, is compositional for linearizable libraries, and provide an example illustrating our proof technique.