/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* print2.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: cchauvet data; time = get_time(); pthread_mutex_lock(&data->print_mutex); ft_putnum(time, 7); ft_putchar(' '); ft_putnum(philo->id + 1, 3); ft_putchar(' '); ft_putstr("died"); ft_putchar('\n'); pthread_mutex_unlock(&data->print_mutex); }