Adding stuff corrected thx to lgrafi forhelping me
This commit is contained in:
parent
8cc0fbda87
commit
124064556e
4 changed files with 25 additions and 13 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue