CS3530 Assignment 5
Kennesaw State University Department of Computer Science Operating Systems CS3530/01 Assignment # 5 / Deadlock Dalibor Labudovic 07/09/12013 Initial Problem Statement: Study of Deadlocks with the Five Philosophers Problem. This assignment involves observation of general behavior of a system with deadlock situations and solutions. Computation of some relevant performance metrics. There are three models implemented in C++ using Psim3 package: "philos.cpp", "philoshw.cpp", and "philoscw.cpp". The first model always deadlocks. The second model applies the dis-allowance of the hold and wait condition as a solution to deadlock. The third model applies dis-allowance of the circular wait condition as a solution to deadlock. Copy the model source C++ files from the system directory on the CS3 server, then compile, and link to create the executable program. Run the program at least three times. Change the average parameter for the eating and thinking periods, ...