From 32d881a7d24988eadc28f28b934cf54dc55a584c Mon Sep 17 00:00:00 2001 From: Camille Chauvet Date: Thu, 20 Apr 2023 12:39:01 +0000 Subject: [PATCH] fix: stop when philo has enough eat --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 166f308..60cc592 100644 --- a/main.c +++ b/main.c @@ -82,8 +82,8 @@ void *check_routine(t_data *data) return (NULL); } i++; + usleep(10); } - usleep(100); } }