diff options
| author | Dominik Kaiser | 2025-01-18 17:11:11 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-01-18 17:11:11 +0100 |
| commit | 0813f4153af4723d3fddffea6926243f3a94fa57 (patch) | |
| tree | 4d0c28ccea57b0444d1ebe82c5b0f9ab78b1e872 /philo/include/philo.h | |
| parent | 22e40654fadb2373697742e0ff8deb6ad87c6601 (diff) | |
| download | Philosophers-0813f4153af4723d3fddffea6926243f3a94fa57.tar.gz Philosophers-0813f4153af4723d3fddffea6926243f3a94fa57.zip | |
Outsource checking for philos_must_eat to main thread
Diffstat (limited to 'philo/include/philo.h')
| -rw-r--r-- | philo/include/philo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/philo/include/philo.h b/philo/include/philo.h index b4db15b..fbcf53f 100644 --- a/philo/include/philo.h +++ b/philo/include/philo.h @@ -6,7 +6,7 @@ /* By: dkaiser <dkaiser@student.42heilbronn.de +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/01/17 10:23:19 by dkaiser #+# #+# */ -/* Updated: 2025/01/18 16:57:23 by dkaiser ### ########.fr */ +/* Updated: 2025/01/18 17:09:50 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -51,6 +51,6 @@ typedef struct s_philo t_phdata *data; } t_philo; -int run_simulation(int nbr_of_philos, t_philo *philos); +int run_simulation(int nbr_of_philos, t_philo *philos, t_phdata *data); #endif |
