--- rpl/src/fusible.c 2010/03/09 10:18:44 1.5 +++ rpl/src/fusible.c 2010/08/06 15:26:45 1.12 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.13 + RPL/2 (R) version 4.0.18 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -20,7 +20,7 @@ */ -#include "rpl.conv.h" +#include "rpl-conv.h" /* @@ -56,6 +56,7 @@ fusible(void *argument) sigemptyset(&masque); sigaddset(&masque, SIGINJECT); sigaddset(&masque, SIGFSTOP); + sigaddset(&masque, SIGFABORT); sigaddset(&masque, SIGURG); sigaddset(&masque, SIGALRM); sigaddset(&masque, SIGCONT); @@ -84,7 +85,9 @@ fusible(void *argument) temporisation.tv_sec = 0; temporisation.tv_nsec = 100000000; // un dixième de seconde +# ifndef OS2 pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL); +# endif getrusage(RUSAGE_SELF, &s_rusage); temps_cpu_courant = s_rusage.ru_utime.tv_sec +