/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* print2.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet data; time = get_time(); pthread_mutex_lock(&data->print_mutex); printf("%07zu %03zu %s\n", time, philo->id + 1, "died"); pthread_mutex_unlock(&data->print_mutex); }