Adding stuff corrected thx to lgrafi forhelping me

This commit is contained in:
Raphaël 2024-06-26 19:27:22 +02:00
parent 8cc0fbda87
commit 124064556e
4 changed files with 25 additions and 13 deletions

View file

@ -30,7 +30,6 @@ t_error ft_start_eating(t_philo *philo)
{
const t_usize time = ft_time() - philo->start_time;
printf("\n\nOn as au pheno ?\n\n");
if (philo->id % 2 == 0)
{
pthread_mutex_lock(philo->l_fork);