Commit Graph

15 Commits

Author SHA1 Message Date
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
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
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
f8f509dd59 init mutex broken 2022-01-13 09:56:09 +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
hugogogo
48118ae3ab resolved unexpected additionnal call to the chained list 2022-01-09 11:10:04 +01:00
hugogogo
4b37e5392e create chained list of struct philo and start thread 2022-01-09 10:10:57 +01:00