Skip to content

This project introduce to the concurrent programming with threads, mutexes and processes with the dining philosophers problem

Notifications You must be signed in to change notification settings

BebAlix/philosopher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This project introduce to the concurrent programming with threads, mutexes and processes with the dining philosophers problem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published