/philosophers

A 42 project to learn the basics of threading a process.

Primary LanguageC

This is a project about the famous Dining Philosophers problem. It involves threads, multithreading, processes, mutex and data sharing.

To know more about the project, check the subject: en.subject.pdf

Usage: ./philo [number_of_philosophers] [time_to_die] [time_to_eat] [time_to_sleep] [number_of_times_each_philosopher_must_eat]