We are using threads (philo_one and philo_two parts) and processes(philo_three) in this project
Clone the project:
git clone https://github.com/Goshiq/Philosophers.git && cd Philosophers
Compile:
make
cd into one of the dirs and start the program with arguments:
0 - nymber of philosophers
1 - time to die without eating in ms
2 - time to eat in ms
3 - time to sleep in ms
4 - optional, number of meals
example:
cd ./philo_three && ./philo_three 200 1000 100 100 5 && cd ..