The mandatory part of this project asks us to solve the dining philosophers problem and implement a mutithreading solution. In order to better understand the solution that we are going to implement in this project I suggest you to read something about what a thread is and how multithreading works, I'll leave a couple of wikipedia references to start learning about these topics:
Clone the repository:
git clone https://github.com/Asrasal47/42-Philosophers.git
Navigate to the directory:
cd 42-Philosophers/philo && make
OR
cd 42-Philosophers/philo_bonus && make
To start the program, run the following command.
./philo
OR
./philo_bonus
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Open a Pull Request