diff options
| author | Dominik Kaiser | 2025-01-18 11:23:40 +0100 |
|---|---|---|
| committer | Dominik Kaiser | 2025-01-18 11:23:40 +0100 |
| commit | b31b512f71b65e56e5b06f45877825581eac0a5f (patch) | |
| tree | 0d53e813277de284c22322f0439f212603c2b8cd /philo/include/philo.h | |
| parent | f6e38aa3145682265c84487fb01ace835c8f17d0 (diff) | |
| download | Philosophers-b31b512f71b65e56e5b06f45877825581eac0a5f.tar.gz Philosophers-b31b512f71b65e56e5b06f45877825581eac0a5f.zip | |
Add simulation func
Diffstat (limited to 'philo/include/philo.h')
| -rw-r--r-- | philo/include/philo.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/philo/include/philo.h b/philo/include/philo.h index cfc832e..26871b9 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 11:20:26 by dkaiser ### ########.fr */ +/* Updated: 2025/01/18 11:22:15 by dkaiser ### ########.fr */ /* */ /* ************************************************************************** */ @@ -49,4 +49,6 @@ typedef struct s_philo t_phdata *data; } t_philo; +void run_simulation(int nbr_of_philos, t_philo *philos); + #endif |
