An open API service indexing awesome lists of open source software.

https://github.com/lobbyra/philosophers

Simulation of the philosophers problem in c
https://github.com/lobbyra/philosophers

42school c

Last synced: 3 days ago
JSON representation

Simulation of the philosophers problem in c

Awesome Lists containing this project

README

          

# philosophers

![](https://media.giphy.com/media/zmXtqmGUf8uhW/giphy.gif)

---

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