Commit Graph

10 Commits

Author SHA1 Message Date
Camille Chauvet
02a80af93b fix: stop when nb_meal is reached 2023-04-25 14:50:01 +00:00
Camille Chauvet
d6aee63600 fix 2023-04-25 14:33:35 +00:00
Camille Chauvet
b553e5af97 fix: stop when philo has enough eat 2023-04-20 13:16:02 +00:00
Camille Chauvet
32d881a7d2 fix: stop when philo has enough eat 2023-04-20 12:39:01 +00:00
Camille Chauvet
caa4491fbb fix: add verif for sleeping and not only for eating 2023-04-20 12:21:03 +00:00
Camille Chauvet
cb2e29d18b prepare to add a verif thread 2023-04-19 14:51:01 +00:00
Camille Chauvet
9281e9f508 fix: stop when philo dead 2023-04-19 14:02:44 +00:00
Camille Chauvet
622c2bf226 fix: lock mutex 2023-04-19 11:59:37 +00:00
Camille Chauvet
4e27d103a8 fix: I create now 1 thread by philo 2023-04-19 11:53:50 +00:00
Camille Chauvet
a37cbf88f3 init 2023-04-13 13:00:39 +00:00