'Laurel and Hardy' model for analyzing process synchronization algorithms and primitives

  • Authors:
  • Mithun Acharya;Robert Funderlic

  • Affiliations:
  • North Carolina State University, Raleigh, North Carolina;North Carolina State University, Raleigh, North Carolina

  • Venue:
  • ACM SIGCSE Bulletin
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

The initial software solutions to solve the Process Synchronization problems, which ultimately led to the use of Semaphores are usually hard for a beginner to understand and appreciate. The reason is that one has to do lots of book keeping in tracing these algorithms, which involve multiple processes and variable instances. In order to prove the correctness of any synchronization problem, it has to be tested over the Critical Section conditions which again might be a tough exercise. In this paper we propose a model called "Laurel and Hardy" to understand and prove the (in)completeness of the software solutions to the Process Synchronization problem. A series of dramas is enacted between the two comedians Laurel and Hardy which makes understanding of synchronization problem solutions and testing it over Critical Section conditions very simple. We attempt to convince the readers that Laurel and Hardy model can be used as a potential tool for the analysis of any synchronization algorithms and also in assessing the (in)completeness of it. In addition, Laurel and Hardy model can be used as a teaching aid in beginner's Operating System course.