Diff for /rpl/src/fusible.c between versions 1.31 and 1.32

version 1.31, 2011/08/09 11:31:30 version 1.32, 2011/09/14 14:34:28
Line 45  fusible(void *argument) Line 45  fusible(void *argument)
     real8                   temps_cpu_precedent;      real8                   temps_cpu_precedent;
     real8                   temps_cpu_courant;      real8                   temps_cpu_courant;
   
     sigset_t                masque;  
   
     struct_processus        *s_etat_processus;      struct_processus        *s_etat_processus;
   
     struct rusage           s_rusage;      struct rusage           s_rusage;
Line 55  fusible(void *argument) Line 53  fusible(void *argument)
   
     s_etat_processus = argument;      s_etat_processus = argument;
   
     sigemptyset(&masque);  
     sigaddset(&masque, SIGINJECT);  
     sigaddset(&masque, SIGFSTOP);  
     sigaddset(&masque, SIGFABORT);  
     sigaddset(&masque, SIGURG);  
     sigaddset(&masque, SIGALRM);  
     sigaddset(&masque, SIGCONT);  
     sigaddset(&masque, SIGINT);  
     pthread_sigmask(SIG_BLOCK, &masque, NULL);  
   
     if ((*s_etat_processus).debug == d_vrai)      if ((*s_etat_processus).debug == d_vrai)
         if (((*s_etat_processus).type_debug &          if (((*s_etat_processus).type_debug &
                 d_debug_fusible) != 0)                  d_debug_fusible) != 0)
Line 110  fusible(void *argument) Line 98  fusible(void *argument)
         {          {
             (*s_etat_processus).temps_maximal_cpu = 0;              (*s_etat_processus).temps_maximal_cpu = 0;
   
             pthread_kill((*s_etat_processus).thread_surveille_par_fusible,              envoi_signal_thread((*s_etat_processus)
                     SIGFSTOP);                      .thread_surveille_par_fusible, rpl_sigstop);
             break;              break;
         }          }
     } while((*s_etat_processus).var_volatile_requete_arret == 0);      } while((*s_etat_processus).var_volatile_requete_arret == 0);

Removed from v.1.31  
changed lines
  Added in v.1.32


CVSweb interface <joel.bertrand@systella.fr>