Consistency Requirements of Peterson's Algorithm for Mutual Exclusion of {n} Processes in a Distributed Shared Memory System

  • Authors:
  • Jerzy Brzezinski;Dariusz Wawrzyniak

  • Affiliations:
  • -;-

  • Venue:
  • PPAM '01 Proceedings of the th International Conference on Parallel Processing and Applied Mathematics-Revised Papers
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper deals with consistency requirements of Peterson's algorithm for mutual exclusion of n processes in a distributed shared memory (DSM) system.It is shown here that a suitable combination of processor consistency and PRAM consistency, i.e. two models that are weaker than sequential consistency, is sufficient for the correctness of Peterson's algorithm for n processes. The algorithm resulting from the combination is proven to be correct in terms of safety and liveness including progress and lockout-freedom. Moreover, the combination is proven to be optimal for Peterson's algorithm in the sense that the relaxation of any write operation consistency semantics leads to incorrectness of the algorithm.