Diff for /rpl/src/fusible.c between versions 1.11 and 1.14

version 1.11, 2010/07/14 14:19:34 version 1.14, 2010/08/09 13:51:47
Line 20 Line 20
 */  */
   
   
 #include "rpl.conv.h"  #include "rpl-conv.h"
   
   
 /*  /*
Line 40 Line 40
 void *  void *
 fusible(void *argument)  fusible(void *argument)
 {  {
   #   ifndef OS2
   
     real8                   temps_cpu_precedent;      real8                   temps_cpu_precedent;
     real8                   temps_cpu_courant;      real8                   temps_cpu_courant;
   
Line 95  fusible(void *argument) Line 97  fusible(void *argument)
     {      {
         pthread_testcancel();          pthread_testcancel();
         nanosleep(&temporisation, NULL);          nanosleep(&temporisation, NULL);
   
         getrusage(RUSAGE_SELF, &s_rusage);          getrusage(RUSAGE_SELF, &s_rusage);
   
         temps_cpu_precedent = temps_cpu_courant;          temps_cpu_precedent = temps_cpu_courant;
Line 132  fusible(void *argument) Line 133  fusible(void *argument)
         fflush(stdout);          fflush(stdout);
     }      }
   
   #   else
           if ((*s_etat_processus).langue == 'F')
           {
               printf("+++Attention : Support indisponible sous OS/2\n");
           }
           else
           {
               printf("+++Attention : Function unavailable\n");
           }
   #   endif
   
     pthread_exit(NULL);      pthread_exit(NULL);
 }  }
   

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


CVSweb interface <joel.bertrand@systella.fr>