From 21ecb9fa9d07842daf2e91252ab5988843eceebd Mon Sep 17 00:00:00 2001 From: Lukas Jiriste Date: Fri, 24 May 2024 15:36:00 +0200 Subject: [PATCH] Add "empty" handle_philosophers for testing --- philo_bonus/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/philo_bonus/main.c b/philo_bonus/main.c index 1605e32..ab989f8 100644 --- a/philo_bonus/main.c +++ b/philo_bonus/main.c @@ -6,7 +6,7 @@ /* By: ljiriste +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/03/22 11:19:48 by ljiriste #+# #+# */ -/* Updated: 2024/05/24 15:21:33 by ljiriste ### ########.fr */ +/* Updated: 2024/05/24 15:32:12 by ljiriste ### ########.fr */ /* */ /* ************************************************************************** */ @@ -53,6 +53,12 @@ void kill_philosophers(unsigned int count, pid_t *philo_pids) } } +void handle_philosophers(__attribute__((unused)) t_sems *semaphores) +{ + sleep(5); + return ; +} + int main(int argc, char **argv) { t_settings settings; -- 2.30.2