The Dining Philosophers Problem

What are the possibles ways to solve this Dining Philosophers Problem?
Question: Consider the following two scenarios in the dining philosophers problem:

    • First a philosopher has to enter a room with the table that restricts the number of philosophers to four.
    • There is no restriction on the number of philosophers

entering the room. Which of the following is true?


    1. Deadlock is possible in (i) and (ii).
    2. Deadlock is possible in (i).
    3. Starvation is possible in (i)
    4. Deadlock is not possible in (ii).
    5. Starvation is not possible in (ii).
Pankaj Singh Sugara

Author Pankaj Singh Sugara

More posts by Pankaj Singh Sugara