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
This commit is contained in:
@@ -17,7 +17,7 @@ typedef struct s_philo
|
||||
t_params *params;
|
||||
int philo_nbr;
|
||||
int fork;
|
||||
t_mtx *msg_mtx;
|
||||
t_mtx *m_print;
|
||||
struct s_philo *prev;
|
||||
struct s_philo *next;
|
||||
} t_philo;
|
||||
|
||||
Reference in New Issue
Block a user