Article ID Journal Published Year Pages File Type
435533 Science of Computer Programming 2011 13 Pages PDF
Abstract

The queue based mutual exclusion protocol establishes mutual exclusion for N>1N>1 threads by means of not necessarily atomic variables. In order to enter the critical section, a competing thread needs to traverse as many levels as there are currently competing threads. Competing threads can be overtaken by other competing threads. It is proved here, however, that every competing thread is overtaken less than NN times, and that the overtaking threads were competing when the first one of them exits.

Research highlights► High fairness verified for simple mutual exclusion. ► In this MX algorithm for NN threads, no thread is overtaken more than N−1N−1 times. ► Refinement methods are very useful for verification of concurrent algorithms. ► Proof assistants are essential for the verification of concurrent algorithms.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics
Authors
, ,