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

Experienced Software Engineer with a demonstrated history of working in the marketing and advertising industry. Skilled in SQL, Web Applications, PHP, WordPress, and Joomla. Strong engineering professional with a B-TECH focused in Information Technology from JCDM College of Engineering Sirsa, Haryana.

More posts by Pankaj Singh Sugara