Diff for /rpl/src/instructions_p7.c between versions 1.36 and 1.37

version 1.36, 2011/09/20 08:56:23 version 1.37, 2011/09/20 09:51:42
Line 800  instruction_poke(struct_processus *s_eta Line 800  instruction_poke(struct_processus *s_eta
                             .pipe_nombre_injections[1], "-",                              .pipe_nombre_injections[1], "-",
                             sizeof(unsigned char))) != sizeof(unsigned char))                              sizeof(unsigned char))) != sizeof(unsigned char))
                     {                      {
                         if (sem_wait(                          while(sem_wait(
                                 &((*s_etat_processus).semaphore_fork)) != 0)                                  &((*s_etat_processus).semaphore_fork)) != 0)
                         {                          {
                             (*s_etat_processus).erreur_systeme = d_es_processus;                              if (errno != EINTR)
                             return;                              {
                                   (*s_etat_processus).erreur_systeme =
                                           d_es_processus;
                                   return;
                               }
                         }                          }
   
                         if (longueur_ecriture == -1)                          if (longueur_ecriture == -1)
Line 866  instruction_poke(struct_processus *s_eta Line 870  instruction_poke(struct_processus *s_eta
                         }                          }
                     }                      }
   
                     if (sem_wait(&((*s_etat_processus).semaphore_fork)) != 0)                      while(sem_wait(&((*s_etat_processus).semaphore_fork)) != 0)
                     {                      {
                         (*s_etat_processus).erreur_systeme = d_es_processus;                          if (errno != EINTR)
                         return;                          {
                               (*s_etat_processus).erreur_systeme = d_es_processus;
                               return;
                           }
                     }                      }
   
                     if (registre_stop == 0)                      if (registre_stop == 0)
Line 1022  instruction_poke(struct_processus *s_eta Line 1029  instruction_poke(struct_processus *s_eta
                             .pipe_nombre_injections[1], "-",                              .pipe_nombre_injections[1], "-",
                             sizeof(unsigned char))) != sizeof(unsigned char))                              sizeof(unsigned char))) != sizeof(unsigned char))
                     {                      {
                         if (sem_wait(                          while(sem_wait(
                                 &((*s_etat_processus).semaphore_fork)) != 0)                                  &((*s_etat_processus).semaphore_fork)) != 0)
                         {                          {
                             (*s_etat_processus).erreur_systeme = d_es_processus;                              if (errno != EINTR)
                             return;                              {
                                   (*s_etat_processus).erreur_systeme =
                                           d_es_processus;
                                   return;
                               }
                         }                          }
   
                         if (longueur_ecriture == -1)                          if (longueur_ecriture == -1)
Line 1088  instruction_poke(struct_processus *s_eta Line 1099  instruction_poke(struct_processus *s_eta
                         }                          }
                     }                      }
   
                     if (sem_wait(                      while(sem_wait(
                             &((*s_etat_processus).semaphore_fork)) != 0)                              &((*s_etat_processus).semaphore_fork)) != 0)
                     {                      {
                         (*s_etat_processus).erreur_systeme = d_es_processus;                          if (errno != EINTR)
                         return;                          {
                               (*s_etat_processus).erreur_systeme = d_es_processus;
                               return;
                           }
                     }                      }
   
                     if (registre_stop == 0)                      if (registre_stop == 0)

Removed from v.1.36  
changed lines
  Added in v.1.37


CVSweb interface <joel.bertrand@systella.fr>