23 lines
1.1 KiB
C
23 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* philo.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angoulem +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/03/08 14:38:14 by cchauvet #+# #+# */
|
|
/* Updated: 2023/04/13 12:58:09 by cchauvet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include <pthread.h>
|
|
# include <stdio.h>
|
|
# include <stdbool.h>
|
|
# include <stdlib.h>
|
|
# include "./data.h"
|
|
|
|
t_philo *philo_init(t_data *data);
|
|
void philo_destroyer(t_philo *philo);
|
|
void *philo_routine(void *arg);
|
|
|