/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* philo.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/07/07 15:11:02 by adjoly #+# #+# */ /* Updated: 2024/07/07 16:18:23 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef PHILO_H # define PHILO_H # include # include # include typedef enum s_philo_state { DIED = -1, EAT, THINK, SLEEP, FORK_TAKEN } t_philo_state; void log_philo(uint32_t timestamp, uint16_t philo, t_philo_state type); #endif