Further change cleanup order
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 9 May 2024 10:42:34 +0000 (12:42 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 9 May 2024 10:42:34 +0000 (12:42 +0200)
commit958154ea02f1dfc65048abdabff3aaa4ceffbcc0
treedb5ea2383ba1452016643d48d77348ef665f4530
parent574f9fd856578d92b7650ca744314306de411685
Further change cleanup order

To make helgrind errors disappear, delete every mutex shared between
threads only after joining all the threads. This ensures that
no thread can access a mutex after the removal of the mutex because
no thread exists then.
philo/mem_management.c