Commit Graph

13 Commits

Author SHA1 Message Date
Camille Chauvet
0ae80bdcca fix: helgreind 2023-04-19 14:49:48 +00:00
Camille Chauvet
e7a85b4d9d change display id '1' -> '001' 2023-04-19 14:49:03 +00:00
Camille Chauvet
1461285dbf fix: add pthread flag to compile and link 2023-04-19 14:09:01 +00:00
Camille Chauvet
7e77316d53 add: time is now relatif 2023-04-19 14:08:23 +00:00
Camille Chauvet
6148d6effe change: 'is dead' -> 'dead' and ' 10' -> '000000010' 2023-04-19 14:06:03 +00:00
Camille Chauvet
9281e9f508 fix: stop when philo dead 2023-04-19 14:02:44 +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
07a72c7f89 fix: parsing return error only if nb philo == 0 2023-04-19 13:58:18 +00:00
Camille Chauvet
23e8774c44 fix: check argument overflow 2023-04-19 13:51:57 +00:00
Camille Chauvet
f19a96a233 fix: parsing check nb philos > 0 2023-04-19 13:51:35 +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