2021.06.13 ~ ~2021.06.28
In this project, you will learn the basics of threading a process.
You will see how to create threads and you will discover mutexes.
$> make
* Execute
$> ./philo <number_of_philosophers> <time_to_die> <time_to_eat> <time_to_sleep> [option: number_of_times_each_philosopher_must_eat]
- must not have any data races.
- philosophers must eat, sleep, or think.
- you should avoid to die philo.
- philo is diying after he/she started to eat.