aboutsummaryrefslogtreecommitdiff
path: root/philo/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'philo/src/main.c')
-rw-r--r--philo/src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/philo/src/main.c b/philo/src/main.c
index 1a07271..46d1050 100644
--- a/philo/src/main.c
+++ b/philo/src/main.c
@@ -6,7 +6,7 @@
/* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/01/14 17:13:30 by dkaiser #+# #+# */
-/* Updated: 2025/01/18 11:36:33 by dkaiser ### ########.fr */
+/* Updated: 2025/01/18 12:02:24 by dkaiser ### ########.fr */
/* */
/* ************************************************************************** */
@@ -78,6 +78,7 @@ int main(int argc, char *argv[])
result = init(&philos, &data);
if (result != EXIT_SUCCESS)
return (result);
+ data.simulation_running = 1;
result = run_simulation(data.nbr_of_philos, philos);
free(philos);
free(data.forks);