--- rpl/src/instructions_w1.c 2010/08/15 14:46:25 1.24 +++ rpl/src/instructions_w1.c 2010/08/31 09:51:30 1.27 @@ -1,6 +1,6 @@ /* ================================================================================ - RPL/2 (R) version 4.0.18 + RPL/2 (R) version 4.0.19 Copyright (C) 1989-2010 Dr. BERTRAND Joël This file is part of RPL/2. @@ -279,6 +279,18 @@ instruction_wait(struct_processus *s_eta code_retour = nanosleep(&temporisation, &temporisation); erreur = errno; + scrutation_injection(s_etat_processus); + + if ((*s_etat_processus).nombre_interruptions_non_affectees != 0) + { + affectation_interruptions_logicielles(s_etat_processus); + } + + if ((*s_etat_processus).nombre_interruptions_en_queue != 0) + { + traitement_interruptions_logicielles(s_etat_processus); + } + # ifndef SEMAPHORES_NOMMES while(sem_wait(&((*s_etat_processus).semaphore_fork)) == -1) # else @@ -291,18 +303,6 @@ instruction_wait(struct_processus *s_eta return; } } - - scrutation_injection(s_etat_processus); - - if ((*s_etat_processus).nombre_interruptions_non_affectees != 0) - { - affectation_interruptions_logicielles(s_etat_processus); - } - - if ((*s_etat_processus).nombre_interruptions_en_queue != 0) - { - traitement_interruptions_logicielles(s_etat_processus); - } } while(((code_retour == -1) && (erreur == EINTR)) && ((*s_etat_processus).var_volatile_requete_arret == 0)); @@ -1710,7 +1710,7 @@ instruction_write(struct_processus *s_et } else { - printf("+++Attention : IPv6 support " + printf("+++Warning : IPv6 support " "unavailable\n"); } # endif @@ -2919,7 +2919,7 @@ instruction_wfsock(struct_processus *s_e } else { - printf("+++Attention : IPv6 support " + printf("+++Warning : IPv6 support " "unavailable\n"); } # endif