From 907debbb7d1e7ccc4914805cfe4acbed92b82bcc Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 4 Jan 2021 12:20:25 +0100 Subject: Added buffered output, Added waiting for all to be started --- philo_two/src/philo_two.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'philo_two/src/philo_two.h') diff --git a/philo_two/src/philo_two.h b/philo_two/src/philo_two.h index 8261b0c..bde41c1 100644 --- a/philo_two/src/philo_two.h +++ b/philo_two/src/philo_two.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/14 22:47:23 by cacharle #+# #+# */ -/* Updated: 2021/01/03 13:55:04 by cacharle ### ########.fr */ +/* Updated: 2021/01/04 09:35:42 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -32,6 +32,7 @@ typedef struct t_time initial_time; sem_t *sem_stdout; sem_t *sem_finish; + sem_t *sem_start; } t_philo_conf; typedef struct -- cgit