There are several problems that arise when we try to find a solution to the Dining Philosophers Problem. One such problem is called deadlock
. This occurs when philosophers have claimed one chopstick each but there are no more chopsticks for any of them to claim. Thus no philosopher is able to eat as all are waiting for a second chopstick.
Another major issue that arises in this problem is called starvation
. Starvation occurs when one philosopher never gets the chopsticks because they are claimed every time that philosopher attempts to claim one.