One of the most famous deadlocks is the one encountered in the well-known problem of the ‘dining philosophers.’ Briefly, it is said that ‘n’ philosophers sit at a round table aiming for Chinese food. 

On the table, there are ‘n’ chopsticks, one between every two philosophers. As the venue is a pleasant and productive one, they are not only eating but also thinking, alternating between the two. In order to be able to eat, each needs to acquire two chopsticks first, eat, then put them back on the table and get back to thinking. Without getting into further details, one can easily observe that in the situation where each philosopher grabs the chopstick to his right and then waits for the one on the left without realizing the former, the deadlock appears. 

Leave a Reply

Your email address will not be published. Required fields are marked *