>>11000115The Dining Philosopher Problem — The Dining Philosopher Problem states that K philosophers seated around a circular table with one chopstick between each pair of philosophers. There is one chopstick between each philosopher. A philosopher may eat if he can pickup the two chopsticks adjacent to him. One chopstick may be picked up by any one of its adjacent followers but not both.
There are three states of philosopher : THINKING, HUNGRY and EATING.
Create is an efficient, eternally running algorithm to have philosophers eating as much as possible.
>CS fags need not apply