Write a monitor solution to the dining-philosopher problem
Answers
Answered by
0
A philosopher who wishes to eat goes to his/her assigned place on the table and eats the spaghetti plate in front of him using the two forks before him.The Aim of the Dinging philosopher’s problem is to allow all the philosophers to eat.It must also satisfy the principles of mutual exclusion (no two philosophers can use the same fork at the same time) while avoiding deadlock and starvation.
Similar questions