Repository for solving the Dinning Philosophers problem. The problem statement can be found [here] (https://en.wikipedia.org/wiki/Dining_philosophers_problem).
I used two different approaches to solve this problem:
- Semaphores, implemented using the C include <semaphores.h>.
- Monitor, implemented in C using mutexes from the include <pthread.h>.
Arthur Jacobs
asjacobs@inf.ufrgs.br
Computer Science Undergraduate Student
Federeal University of Rio Grande do Sul