From cf2ef2c3901f3da524079a9ad912dfb99e115a7e Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 30 Dec 2020 14:06:17 +0100 Subject: Fixed meal_num args for philo_one --- philo_one/src/philo_one.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'philo_one/src/philo_one.h') diff --git a/philo_one/src/philo_one.h b/philo_one/src/philo_one.h index ae7d040..341c1a8 100644 --- a/philo_one/src/philo_one.h +++ b/philo_one/src/philo_one.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/24 06:11:16 by cacharle #+# #+# */ -/* Updated: 2020/10/05 14:28:24 by cacharle ### ########.fr */ +/* Updated: 2020/12/30 13:44:14 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -35,7 +35,9 @@ typedef struct t_time timeout_sleep; long int meal_num; bool all_alive; + long int meal_num_finished_counter; pthread_mutex_t mutex_stdout; + pthread_mutex_t mutex_meal_num_finished_counter; } t_philo_conf; typedef struct s_philo -- cgit