-
Notifications
You must be signed in to change notification settings - Fork 0
dagmarkramer/philosophers
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
INTRODUCTION ------------ this is a program which makes use of mulithreading the goal is to let 'philosophers' alternatively eat, sleep, or think each philosopher is a thread and there are as many forks as philosophers each philosopher needs two forks to eat so they can't eat at the same time to keep philosophers from stealing each other's forks, mutexes are used UTILISATION ------------ run 'make' run './philo [nr_of_philosophers] [time_to_die] [time_to_eat] [time_to_sleep] [opt. times_each_philo_must_eat]' ex: ./philo 20 600 200 200
About
100/100 points multithreading program
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published