Commit Graph

15 Commits

Author SHA1 Message Date
Hugo LAMY
2f747d0563 fonctionne ok sauf pour 1 2022-01-26 13:52:30 +01:00
hugogogo
6561340fb9 check died dans un autre thread et reorganisation fichiers avec main thread 2022-01-26 10:52:06 +01:00
Hugo LAMY
475817540c erreur lors des arrets 2022-01-25 22:05:39 +01:00
Hugo LAMY
d8475537e0 nimp dans timestamp 2022-01-25 18:48:49 +01:00
hugogogo
b998de9340 ajout fonction sleep uqi compare action vs death 2022-01-23 18:09:46 +01:00
Hugo LAMY
cb615cb6b3 meilleur organisation code structures et variables 2022-01-22 19:16:23 +01:00
Hugo LAMY
3ba76ccc4e reorganisation structs et timestamp global 2022-01-22 12:41:30 +01:00
Hugo LAMY
6a4aad9503 debut implementation death tout est casse 2022-01-21 18:32:37 +01:00
Hugo LAMY
964950f5bd messages en couleurs 2022-01-21 16:16:05 +01:00
Hugo LAMY
3ee91785f6 routine des philosophers ok et debut usage time 2022-01-21 12:05:52 +01:00
Hugo LAMY
9a59f54641 save from school 2022-01-20 15:45:49 +01:00
hugogogo
ac9d619731 change name mtx_msg for m_print, malloc mutex instead of equal NULL, malloc id with pthread_t instead of int, and change name some functions 2022-01-19 17:47:47 +01:00
hugogogo
bc40b571e9 correction loop chained list 2022-01-13 08:53:27 +01:00
hugogogo
81f0ded5e3 introduction mutex mais erreur 2022-01-10 15:44:30 +01:00
hugogogo
b93e8c5e22 some norm and malloc protection 2022-01-09 12:23:22 +01:00