remiie / diningphilosophers Goto Github PK
View Code? Open in Web Editor NEWAlgorithm, in which no philosopher died of hunger. Everyone can alternate food and meditation forever, assuming that no philosopher can know when others might want to eat or think