From 4c054fcdf0869567abd7295d4302362ef2d16891 Mon Sep 17 00:00:00 2001 From: djonker Date: Tue, 23 May 2023 04:07:01 +0200 Subject: [PATCH] bla --- philo_bonus/src/watch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/philo_bonus/src/watch.c b/philo_bonus/src/watch.c index 7df80aa..528b834 100644 --- a/philo_bonus/src/watch.c +++ b/philo_bonus/src/watch.c @@ -6,7 +6,7 @@ /* By: houtworm +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/05/22 07:34:59 by houtworm #+# #+# */ -/* Updated: 2023/05/23 04:04:00 by houtworm \___)=(___/ */ +/* Updated: 2023/05/23 04:06:37 by houtworm \___)=(___/ */ /* */ /* ************************************************************************** */ @@ -19,7 +19,6 @@ int ft_releasetheminds(t_strct *strct, int m) i = 0; if (m) { - /*strct->strtt = ft_time();*/ while (i < (strct->philos * 2) - 1) { sem_post(strct->hold); @@ -76,7 +75,6 @@ void *ft_alive(void *pointer) t_philo *philo; philo = pointer; - /*usleep(*philo->dietime);*/ sem_wait(philo->hold); while (ft_time() - philo->lastfood < *philo->dietime) usleep(500);