/philosophers

Simulation of the philosophers problem in c

Primary LanguageC

philosophers


This code explore 3 ways to solve the known philosophers problem.

Cause of a wrong usage of usleep, this code might be unstable and not work properly. But the structure is correct.

More about the philosophers problem:

https://en.wikipedia.org/wiki/Dining_philosophers_problem