Written according to NORM: https://cdn.intra.42.fr/pdf/pdf/960/norme.en.pdf and with limitations of subject. Program arguments: number_of_philosophers time_to_die time_to_eat time_to_sleep number_of_times_each_philosopher_must_eat(optional) Program simulate life of pholosopher. Phil is thread. Phil must eat to survie. Each phil have 1 fork. Phil need 2 forks to eat. Phil must protect state of his fork by mutex.
-
Notifications
You must be signed in to change notification settings - Fork 0
arygal/ary_philosophers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published