@ -49,6 +49,7 @@ void data_destroyer(t_data *data)
pthread_mutex_unlock(&philo->stop_mutex);
if (stop)
i++;
usleep(1000);
}
pthread_mutex_destroy(&data->forks_mutex);
pthread_mutex_destroy(&data->stop_mutex);
The note is not visible to the blocked user.