© 1989 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
The Solution of Mutual Exclusion Problems which can be Described Graphically

1 Department of Computer Science, University of Texas at Dallas, Box 830688, Richardson, TX 75083-0688, USA, 2 Computer Systems Laboratory, Department of Computer Sciences, North Texas State University, Denton, TX 76203-3886, USA
This paper describes a general method for classifying and solving graphical mutual exclusion problems in a potentially automatic way. We show how to compile undirected graph representations into code for the associated processes. Starvation-prone solutions are based on Dijkstra's weak binary semaphores, while starvation-free solutions employ blocked-queue binary semaphores. Both solutions take the form of simulations of problem-space specifications which prescribe queue disciplines amongst blocked processes. The Hoare monitor is also considered since it is easily implemented in semaphores and can simulate any reasonable queue discipline. All proofs are presented in English with the minimum of formality in order to attract the greatest readership. Some of the necessarily more formal proofs underlying the results given here have been collected into a separate paper.
Received June 1986. revised June 1987.
* Department of Computer Science, University of Texas at Dallas, Box 830688, Richardson, Tx 75083-0688, USA
Computer Systems Laboratory, Department of Computer Sciences, North Texas State University, Denton, Tx 76203-3886, USA