aboutsummaryrefslogtreecommitdiff
path: root/philo_one/src/philo.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-12-30 14:06:17 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-12-30 14:06:17 +0100
commitcf2ef2c3901f3da524079a9ad912dfb99e115a7e (patch)
tree7868f1f02a3fab1aa74606c1f9a3a00c0287976f /philo_one/src/philo.c
parent2baa67fd7ad31fe53ab21d257a104478e787fb62 (diff)
downloadphilosophers-cf2ef2c3901f3da524079a9ad912dfb99e115a7e.tar.gz
philosophers-cf2ef2c3901f3da524079a9ad912dfb99e115a7e.tar.bz2
philosophers-cf2ef2c3901f3da524079a9ad912dfb99e115a7e.zip
Fixed meal_num args for philo_one
Diffstat (limited to 'philo_one/src/philo.c')
-rw-r--r--philo_one/src/philo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/philo_one/src/philo.c b/philo_one/src/philo.c
index 30c0a7c..3e3d90f 100644
--- a/philo_one/src/philo.c
+++ b/philo_one/src/philo.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/09 23:47:14 by cacharle #+# #+# */
-/* Updated: 2020/10/05 16:13:10 by cacharle ### ########.fr */
+/* Updated: 2020/12/30 11:58:51 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -49,6 +49,7 @@ bool philos_start(t_philo *philos, int num)
pthread_detach(philos[i].thread);
return (false);
}
+ usleep(200);
}
return (true);
}