save from school

This commit is contained in:
Hugo LAMY
2022-01-20 15:45:49 +01:00
parent ac9d619731
commit 9a59f54641
4 changed files with 34 additions and 27 deletions

View File

@@ -16,7 +16,7 @@ typedef struct s_philo
{
t_params *params;
int philo_nbr;
int fork;
t_mtx m_fork;
t_mtx *m_print;
struct s_philo *prev;
struct s_philo *next;