Diff for /rpl/src/interruptions.c between versions 1.94 and 1.95

version 1.94, 2012/04/20 14:22:10 version 1.95, 2012/05/16 14:45:25
Line 64  unsigned char         *racine_segment; Line 64  unsigned char         *racine_segment;
 static pthread_mutex_t                          mutex_interruptions  static pthread_mutex_t                          mutex_interruptions
         = PTHREAD_MUTEX_INITIALIZER;          = PTHREAD_MUTEX_INITIALIZER;
   
   void *
   thread_surveillance_signaux(void *argument)
   {
       // Chaque kill() ou pthread_kill() incrémente le sémaphore. Lorsque le
       // sémaphore est déverrouillé, on part dans un timeout.
       // while(sem_wait())
       // {
       //  nanosleep();
       //  if (errno == EINTR)
       //  {
       //      continue;
       //  }
       //
       //  if (sem_trywait() != 0)
       //  {
       //    sem_post()
       //    kill()
       //  }
       // }
       pthread_exit(NULL);
   }
   
 void  void
 modification_pid_thread_pere(struct_processus *s_etat_processus)  modification_pid_thread_pere(struct_processus *s_etat_processus)
 {  {

Removed from v.1.94  
changed lines
  Added in v.1.95


CVSweb interface <joel.bertrand@systella.fr>