Starving philosophers: experimentation with monitor synchronization

  • Authors:
  • Steven Robbins

  • Affiliations:
  • Division of Computer Science, University of Texas at San Antonio

  • Venue:
  • Proceedings of the thirty-second SIGCSE technical symposium on Computer Science Education
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Textbook discussions of synchronization seldom go beyond a brief introduction in terms of classical problems. This paper presents a simulator for the monitor solution of the dining philosophers problem that students can use to experimentally explore how such a solution might behave in practice. The simulator, which can be run remotely from a browser or can be downloaded for running locally, is written in Java so that it can be run on almost any system.