From 99f67bde096ad84dad5b41bc779ae2ad2d807e6f Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 30 Sep 2020 10:35:23 +0200 Subject: Renaming io_* -> event_*, Changed philo_put with only 1 write call --- philo_one/src/philo_one.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'philo_one/src/philo_one.h') diff --git a/philo_one/src/philo_one.h b/philo_one/src/philo_one.h index 9fc5e5f..cb41b77 100644 --- a/philo_one/src/philo_one.h +++ b/philo_one/src/philo_one.h @@ -76,10 +76,10 @@ void *routine_death(t_philo *arg); ** io.c */ -void io_take_fork(t_philo *arg, pthread_mutex_t *fork); -void io_eat(t_philo *arg); -void io_think(t_philo *arg); -void io_sleep(t_philo *arg, pthread_mutex_t *fork_right, pthread_mutex_t *fork_left); -void io_die(t_philo *arg); +void event_take_fork(t_philo *arg, pthread_mutex_t *fork); +void event_eat(t_philo *arg); +void event_think(t_philo *arg); +void event_sleep(t_philo *arg, pthread_mutex_t *fork_right, pthread_mutex_t *fork_left); +void event_die(t_philo *arg); #endif -- cgit