Agent based solution for dining philosophers problem
Deepshikha Bhargava, Sonali Vyas · 2017
Dining philosophers problem is a typical example of inter process synchronization problem where various resources need to be allocated between different processes to avoid deadlock as well as starvation. There are different solutions are proposed but they have few limitations. This paper proposes an agent based solution wherein an agent will grant the permission to acquire and release the resources (i.e. chopsticks). An agent will be added to the system. The agent will release a TOKEN to a philosopher to begin a state like Eating, Thinking or Waiting. The purpose is to obtain a deadlock and starvation free solution to the problem.