Diff for /rpl/src/instructions_s10.c between versions 1.14 and 1.15

version 1.14, 2010/06/09 12:19:13 version 1.15, 2010/06/19 15:54:51
Line 459  instruction_spawn(struct_processus *s_et Line 459  instruction_spawn(struct_processus *s_et
   
     (*s_argument_thread).set = set;      (*s_argument_thread).set = set;
     (*s_argument_thread).oldset = oldset;      (*s_argument_thread).oldset = oldset;
       (*s_argument_thread).thread_actif = d_faux;
   
     if (pthread_create(&thread_id, &attributs, lancement_thread,      if (pthread_create(&thread_id, &attributs, lancement_thread,
             s_argument_thread) != 0)              s_argument_thread) != 0)
Line 467  instruction_spawn(struct_processus *s_et Line 468  instruction_spawn(struct_processus *s_et
         return;          return;
     }      }
   
       attente.tv_sec = 0;
       attente.tv_nsec = GRANULARITE_us * 1000;
   
       while((*s_argument_thread).thread_actif == d_faux)
       {
           nanosleep(&attente, NULL);
           INCR_GRANULARITE(attente.tv_nsec);
       }
   
     if (pthread_attr_destroy(&attributs) != 0)      if (pthread_attr_destroy(&attributs) != 0)
     {      {
         (*s_etat_processus).erreur_systeme = d_es_processus;          (*s_etat_processus).erreur_systeme = d_es_processus;

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


CVSweb interface <joel.bertrand@systella.fr>