check died dans un autre thread et reorganisation fichiers avec main thread
This commit is contained in:
@@ -72,6 +72,7 @@ t_global *init_global(void)
|
||||
if (!global)
|
||||
return (NULL);
|
||||
global->dead = 0;
|
||||
global->n_eat = 0;
|
||||
global->t_start.ts = 0;
|
||||
global->t_start.tu = 0;
|
||||
if (pthread_mutex_init(&(global->m_print), NULL) != 0)
|
||||
|
||||
Reference in New Issue
Block a user