2023-04-27 08:05:14 -04:00
|
|
|
/* ************************************************************************** */
|
|
|
|
/* */
|
|
|
|
/* ::: :::::::: */
|
|
|
|
/* time.h :+: :+: :+: */
|
|
|
|
/* +:+ +:+ +:+ */
|
|
|
|
/* By: cchauvet <cchauvet@student.42angouleme.fr +#+ +:+ +#+ */
|
|
|
|
/* +#+#+#+#+#+ +#+ */
|
|
|
|
/* Created: 2023/04/27 11:32:57 by cchauvet #+# #+# */
|
2023-05-02 07:44:16 -04:00
|
|
|
/* Updated: 2023/05/02 11:27:53 by cchauvet ### ########.fr */
|
2023-04-27 08:05:14 -04:00
|
|
|
/* */
|
|
|
|
/* ************************************************************************** */
|
|
|
|
|
|
|
|
#ifndef TIME_H
|
|
|
|
# define TIME_H
|
|
|
|
# include "philo.h"
|
|
|
|
# include "data.h"
|
2023-04-13 09:00:39 -04:00
|
|
|
# include <stddef.h>
|
|
|
|
|
|
|
|
size_t get_time(void);
|
2023-05-02 07:44:16 -04:00
|
|
|
size_t get_time_eat(t_philo *philo, t_data *data);
|
|
|
|
size_t get_time_sleep(t_philo *philo, t_data *data);
|
2023-04-27 08:05:14 -04:00
|
|
|
|
|
|
|
#endif
|