Commit Graph

9 Commits

Author SHA1 Message Date
Camille Chauvet
69e34424c1 fix: philo alone died now 2023-04-25 14:56:57 +00:00
Camille Chauvet
02a80af93b fix: stop when nb_meal is reached 2023-04-25 14:50:01 +00:00
Camille Chauvet
891431c1be fix: work with odd numbers of philos 2023-04-25 14:39:07 +00:00
Camille Chauvet
d6aee63600 fix 2023-04-25 14:33:35 +00:00
f51039c735 ?fix: initialise all value 2023-04-20 18:27:12 +02:00
Camille Chauvet
19c5a53ba9 fix: end when philo died and not when philo stop eatind or sleep example 'philo 2 100 5 10000' 2023-04-20 12:20:22 +00:00
Camille Chauvet
c674f68b2e fix: check if all threads is stopped before destroye data 2023-04-19 14:01:59 +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