/Philosophers

Philosophers (42cursus) 2020-20201. This project is an introduction to threads (POSIX) and mutexs. It's the famous Philosopher's dining table problem.

Primary LanguageC

philosophers 📚

  • Actual Status : validated.
  • Result : 100% (28/08/2022)

Watch

If you get inspiration from this repository, make sure you add better handling for wrong arguments.

This repository is a basic implementation of the dining philosophers problem. It is a classic synchronization problem that is used to illustrate the challenges of avoiding deadlock and coordinating resources shared by multiple threads.