aboutsummaryrefslogtreecommitdiff
path: root/philo_one/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'philo_one/src/main.c')
-rw-r--r--philo_one/src/main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/philo_one/src/main.c b/philo_one/src/main.c
index 5ee4ba5..0c406b0 100644
--- a/philo_one/src/main.c
+++ b/philo_one/src/main.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/11/24 05:53:02 by cacharle #+# #+# */
-/* Updated: 2021/01/01 13:43:46 by charles ### ########.fr */
+/* Updated: 2021/01/02 10:49:26 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -62,9 +62,6 @@ int main(int argc, char **argv)
}
while (!philo_finished(&conf))
;
- /* if (conf.meal_num != -1 && conf.meal_num_finished_counter == conf.philo_num) */
- /* break; */
- /* conf.all_alive = false; */
philos_detach(philos, conf.philo_num);
forks_destroy(forks, conf.philo_num);
pthread_mutex_destroy(&conf.mutex_stdout);