aboutsummaryrefslogtreecommitdiff
path: root/philo_two/src/philo_two.h
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-05 15:06:03 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-05 15:06:03 +0200
commit473cf5d7576744b679b7a504232b5ebd4b5d689f (patch)
tree6518e4fd26bf4584e5a2d72b9e1289473bce76da /philo_two/src/philo_two.h
parenta237321ee53f44793ebc8b9db26b743f092b5e40 (diff)
downloadphilosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.tar.gz
philosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.tar.bz2
philosophers-473cf5d7576744b679b7a504232b5ebd4b5d689f.zip
Norming
Diffstat (limited to 'philo_two/src/philo_two.h')
-rw-r--r--philo_two/src/philo_two.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/philo_two/src/philo_two.h b/philo_two/src/philo_two.h
index a697382..b3f08ed 100644
--- a/philo_two/src/philo_two.h
+++ b/philo_two/src/philo_two.h
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/14 22:47:23 by cacharle #+# #+# */
-/* Updated: 2020/09/30 10:02:50 by cacharle ### ########.fr */
+/* Updated: 2020/10/05 14:29:40 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -23,7 +23,7 @@
typedef struct
{
long int philo_num;
- t_time timeout_death;
+ t_time timeout_death;
t_time timeout_eat;
t_time timeout_sleep;
long int meal_num;
@@ -43,18 +43,18 @@ typedef struct
** routine.c
*/
-void *routine_philo(t_philo *arg);
-void *routine_death(t_philo *arg);
-t_philo *routine_create_philos(t_philo_conf *conf, sem_t *forks);
+void *routine_philo(t_philo *arg);
+void *routine_death(t_philo *arg);
+t_philo *routine_create_philos(t_philo_conf *conf, sem_t *forks);
/*
** io.c
*/
-void event_take_fork(t_philo *arg);
-void event_eat(t_philo *arg);
-void event_think(t_philo *arg);
-void event_sleep(t_philo *arg);
-void event_die(t_philo *arg);
+void event_take_fork(t_philo *arg);
+void event_eat(t_philo *arg);
+void event_think(t_philo *arg);
+void event_sleep(t_philo *arg);
+void event_die(t_philo *arg);
#endif