Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 393 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 393 Bytes

philosopher

Program who represente the dining philosophers problem with thread and mutex.

How to launch the program

  1. To compile the program :

    $ make
  2. To start the program :

    $ ./philo [number_of_philosophers] [time_to_die] [time_to_eat] [time_to_sleep] [number_of_times_each_philosopher_must_eat]
  3. Remove all :

    $ make fclean