Electronic Proceedings in Theoretical Computer Science (Aug 2017)

Analysing Mutual Exclusion using Process Algebra with Signals

  • Victor Dyseryn,
  • Rob van Glabbeek,
  • Peter Höfner

DOI
https://doi.org/10.4204/EPTCS.255.2
Journal volume & issue
Vol. 255, no. Proc. EXPRESS/SOS 2017
pp. 18 – 34

Abstract

Read online

In contrast to common belief, the Calculus of Communicating Systems (CCS) and similar process algebras lack the expressive power to accurately capture mutual exclusion protocols without enriching the language with fairness assumptions. Adding a fairness assumption to implement a mutual exclusion protocol seems counter-intuitive. We employ a signalling operator, which can be combined with CCS, or other process calculi, and show that this minimal extension is expressive enough to model mutual exclusion: we confirm the correctness of Peterson's mutual exclusion algorithm for two processes, as well as Lamport's bakery algorithm, under reasonable assumptions on the underlying memory model. The correctness of Peterson's algorithm for more than two processes requires stronger, less realistic assumptions on the underlying memory model.