Diff for /rpl/src/gestion_processus.c between versions 1.13 and 1.14

version 1.13, 2010/06/02 10:28:45 version 1.14, 2010/06/04 07:48:19
Line 1780  surveillance_processus(void *argument) Line 1780  surveillance_processus(void *argument)
             }              }
         }          }
   
         if (pthread_mutex_unlock(&((*s_etat_processus).mutex)) != 0)          if ((*s_etat_processus).debug == d_vrai)
               if (((*s_etat_processus).type_debug &
                       d_debug_processus) != 0)
         {          {
             (*s_etat_processus).erreur_systeme_processus_fils = d_es_processus;              if ((*s_argument_thread).processus_detache == d_vrai)
         }  
     }  
   
     if ((*s_etat_processus).debug == d_vrai)  
         if (((*s_etat_processus).type_debug &  
                 d_debug_processus) != 0)  
     {  
         if ((*s_argument_thread).processus_detache == d_vrai)  
         {  
             if ((*s_etat_processus).langue == 'F')  
             {              {
                 printf("[%d] Arręt du thread de surveillance du"                  if ((*s_etat_processus).langue == 'F')
                         " processus %d\n", (int) getpid(),                  {
                         (int) (*s_argument_thread).pid);                      printf("[%d] Arręt du thread de surveillance du"
                               " processus %d\n", (int) getpid(),
                               (int) (*s_argument_thread).pid);
                   }
                   else
                   {
                       printf("[%d] Stop monitoring of process %d", (int) getpid(),
                               (int) (*s_argument_thread).pid);
                   }
             }              }
             else              else
             {              {
                 printf("[%d] Stop monitoring of process %d", (int) getpid(),                  if ((*s_etat_processus).langue == 'F')
                         (int) (*s_argument_thread).pid);                  {
                       printf("[%d] Arręt du thread de surveillance du"
                               " thread %llu\n", (int) getpid(),
                               (unsigned long long) (*s_argument_thread)
                               .tid);
                   }
                   else
                   {
                       printf("[%d] Stop monitoring of thread %llu",
                               (int) getpid(),
                               (unsigned long long) (*s_argument_thread)
                               .tid);
                   }
             }              }
   
               fflush(stdout);
         }          }
         else  
           retrait_thread_surveillance(s_etat_processus, s_argument_thread);
   
           if (pthread_mutex_unlock(&((*s_etat_processus).mutex)) != 0)
         {          {
             if ((*s_etat_processus).langue == 'F')              (*s_etat_processus).erreur_systeme_processus_fils = d_es_processus;
             {  
                 printf("[%d] Arręt du thread de surveillance du"  
                         " thread %llu\n", (int) getpid(),  
                         (unsigned long long) (*s_argument_thread)  
                         .tid);  
             }  
             else  
             {  
                 printf("[%d] Stop monitoring of thread %llu", (int) getpid(),  
                         (unsigned long long) (*s_argument_thread)  
                         .tid);  
             }  
         }          }
   
         fflush(stdout);  
     }      }
   
     retrait_thread_surveillance(s_etat_processus, s_argument_thread);  
   
     pthread_exit(NULL);      pthread_exit(NULL);
 }  }
   

Removed from v.1.13  
changed lines
  Added in v.1.14


CVSweb interface <joel.bertrand@systella.fr>