This commit is contained in:
Camille Chauvet 2023-05-25 15:24:17 +02:00
parent f1927d349b
commit 61b599b9f2

View File

@ -6,7 +6,7 @@
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/04/27 11:33:25 by cchauvet #+# #+# */
/* Updated: 2023/04/27 11:49:33 by cchauvet ### ########.fr */
/* Updated: 2023/05/25 15:22:42 by cchauvet ### ########.fr */
/* */
/* ************************************************************************** */
@ -75,11 +75,6 @@ int routine(t_data *data)
print_died(philo);
return (1);
}
if (get_min_meal(data) >= data->nb_meals)
{
stop(data);
return (1);
}
i++;
}
return (0);