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);