Lab 7 (5 points)
CS550, Operating Systems
File Systems and Scheduling
Name: _____________________________________________
To submit this assignment, you may copy and paste parts of the assignment into a text editor such as nano, vi, notepad, MS Word, OpenOffice Writer, etc. Zip any code and scripts showing the output of your solutions, and submit the zip file to the dropbox for lab 7. Be sure to include a text document including any written/typed/graphed results. The purpose of this lesson is to learn to about deadlock in the C programming language.
1. (2 points) Threaded code is provided at the following link for the Dining Philosophers problem using 5 philosophers. Convert the code to work for any number of philosophers greater than or equal to 3.