init mutex broken

This commit is contained in:
hugogogo
2022-01-13 09:56:09 +01:00
parent bc40b571e9
commit f8f509dd59
3 changed files with 5 additions and 6 deletions

View File

@@ -24,7 +24,6 @@ int main(int ac, char **av)
if (philo == NULL)
return (0);
n = philo->params->n_phi;
// pthread_mutex_init(&mutex, NULL);
create_threads(philo, id, n);
i = 0;
while (i < n)