routine des philosophers ok et debut usage time
This commit is contained in:
@@ -15,9 +15,13 @@ typedef struct s_params
|
||||
typedef struct s_philo
|
||||
{
|
||||
t_params *params;
|
||||
int philo_nbr;
|
||||
int p_nbr;
|
||||
t_mtx m_fork;
|
||||
t_mtx *m_print;
|
||||
long int t_start_s;
|
||||
long int t_start_u;
|
||||
long int t_last_meal_s;
|
||||
long int t_last_meal_u;
|
||||
struct s_philo *prev;
|
||||
struct s_philo *next;
|
||||
} t_philo;
|
||||
|
||||
Reference in New Issue
Block a user