--- rpl/src/interruptions.c 2016/03/17 16:31:36 1.170 +++ rpl/src/interruptions.c 2016/03/18 12:43:48 1.171 @@ -1524,6 +1524,7 @@ lancement_thread_signaux(struct_processu if (pipe((*s_etat_processus).pipe_signaux) != 0) { +perror("pipe"); (*s_etat_processus).erreur_systeme = d_es_processus; return(d_erreur); } @@ -3142,7 +3143,7 @@ creation_queue_signaux(struct_processus return; } - if ((f_queue_signaux = shm_open(nom, O_RDWR | O_CREAT | O_EXCL, + if ((f_queue_signaux = shm_open(nom, O_RDWR | O_CREAT /* | O_EXCL*/, S_IRUSR | S_IWUSR)) == -1) { sys_free(nom); @@ -3379,6 +3380,12 @@ creation_queue_signaux(struct_processus } # endif + if (lancement_thread_signaux(s_etat_processus) == d_erreur) + { + (*s_etat_processus).erreur_systeme = d_es_processus; + return; + } + return; }