24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* time.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/04/27 11:32:57 by cchauvet #+# #+# */
|
|
/* Updated: 2023/05/02 11:27:53 by cchauvet ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef TIME_H
|
|
# define TIME_H
|
|
# include "philo.h"
|
|
# include "data.h"
|
|
# include <stddef.h>
|
|
|
|
size_t get_time(void);
|
|
size_t get_time_eat(t_philo *philo, t_data *data);
|
|
size_t get_time_sleep(t_philo *philo, t_data *data);
|
|
|
|
#endif
|