nimp dans timestamp

This commit is contained in:
Hugo LAMY
2022-01-25 18:48:49 +01:00
parent b998de9340
commit d8475537e0
6 changed files with 115 additions and 46 deletions

View File

@@ -13,15 +13,9 @@ void launch_threads(t_philo *philo, pthread_t *id)
}
}
int is_dead(t_philo *philo)
{
(void)philo;
return (0);
}
void watch_threads(t_philo *philo, pthread_t *id)
{
int i;
int i;
i = 0;
while (1)
@@ -46,6 +40,5 @@ int main(int ac, char **av)
return (0);
launch_threads(philo, id);
watch_threads(philo, id);
write(1, "main function\n", 14);
return (0);
}