Diff for /rpl/src/analyse.c between versions 1.87 and 1.114

version 1.87, 2013/05/23 12:45:08 version 1.114, 2019/02/03 14:40:27
Line 1 Line 1
 /*  /*
 ================================================================================  ================================================================================
   RPL/2 (R) version 4.1.14    RPL/2 (R) version 4.1.31
   Copyright (C) 1989-2013 Dr. BERTRAND Joël    Copyright (C) 1989-2019 Dr. BERTRAND Joël
   
   This file is part of RPL/2.    This file is part of RPL/2.
   
Line 323  initialisation_instructions(struct_proce Line 323  initialisation_instructions(struct_proce
     INSTRUCTION("EGV", instruction_egv);      INSTRUCTION("EGV", instruction_egv);
     INSTRUCTION("END", instruction_end);      INSTRUCTION("END", instruction_end);
     INSTRUCTION("ENG", instruction_eng);      INSTRUCTION("ENG", instruction_eng);
       INSTRUCTION("EQV", instruction_eqv);
     INSTRUCTION("EXP", instruction_exp);      INSTRUCTION("EXP", instruction_exp);
     INSTRUCTION("FC?", instruction_fc_test);      INSTRUCTION("FC?", instruction_fc_test);
     INSTRUCTION("FFT", instruction_fft);      INSTRUCTION("FFT", instruction_fft);
Line 513  initialisation_instructions(struct_proce Line 514  initialisation_instructions(struct_proce
     INSTRUCTION("RECV", instruction_recv);      INSTRUCTION("RECV", instruction_recv);
     INSTRUCTION("REGV", instruction_regv);      INSTRUCTION("REGV", instruction_regv);
     INSTRUCTION("REPL", instruction_repl);      INSTRUCTION("REPL", instruction_repl);
       INSTRUCTION("RGDL", instruction_rgdl);
       INSTRUCTION("RGDR", instruction_rgdr);
     INSTRUCTION("RNRM", instruction_rnrm);      INSTRUCTION("RNRM", instruction_rnrm);
     INSTRUCTION("ROLL", instruction_roll);      INSTRUCTION("ROLL", instruction_roll);
     //INSTRUCTION("ROOT")      //INSTRUCTION("ROOT")
Line 772  initialisation_instructions(struct_proce Line 775  initialisation_instructions(struct_proce
     INSTRUCTION("RCLSWI", instruction_rclswi);      INSTRUCTION("RCLSWI", instruction_rclswi);
     INSTRUCTION("RECALL", instruction_recall);      INSTRUCTION("RECALL", instruction_recall);
     INSTRUCTION("RECODE", instruction_recode);      INSTRUCTION("RECODE", instruction_recode);
       INSTRUCTION("RECORD", instruction_record);
     INSTRUCTION("REDRAW", instruction_redraw);      INSTRUCTION("REDRAW", instruction_redraw);
     INSTRUCTION("REMOVE", instruction_remove);      INSTRUCTION("REMOVE", instruction_remove);
     INSTRUCTION("REPEAT", instruction_repeat);      INSTRUCTION("REPEAT", instruction_repeat);
Line 822  initialisation_instructions(struct_proce Line 826  initialisation_instructions(struct_proce
     INSTRUCTION("INQUIRE", instruction_inquire);      INSTRUCTION("INQUIRE", instruction_inquire);
     INSTRUCTION("MEMLOCK", instruction_memlock);      INSTRUCTION("MEMLOCK", instruction_memlock);
     INSTRUCTION("MTXLOCK", instruction_mtxlock);      INSTRUCTION("MTXLOCK", instruction_mtxlock);
       INSTRUCTION("NBRCPUS", instruction_nbrcpus);
     INSTRUCTION("PERSIST", instruction_persist);      INSTRUCTION("PERSIST", instruction_persist);
     INSTRUCTION("PLOTTER", instruction_plotter);      INSTRUCTION("PLOTTER", instruction_plotter);
     INSTRUCTION("PRIVATE", instruction_private);      INSTRUCTION("PRIVATE", instruction_private);
Line 1159  analyse(struct_processus *s_etat_process Line 1164  analyse(struct_processus *s_etat_process
     {      {
         if ((*s_etat_processus).test_instruction == 'N')          if ((*s_etat_processus).test_instruction == 'N')
         {          {
             if (pthread_mutex_lock(&(*s_etat_processus).mutex) != 0)              if (pthread_mutex_lock(&(*s_etat_processus).mutex_interruptions)
                       != 0)
             {              {
                 (*s_etat_processus).erreur_systeme = d_es_processus;                  (*s_etat_processus).erreur_systeme = d_es_processus;
             }              }
Line 1170  analyse(struct_processus *s_etat_process Line 1176  analyse(struct_processus *s_etat_process
                     affectation_interruptions_logicielles(s_etat_processus);                      affectation_interruptions_logicielles(s_etat_processus);
                 }                  }
   
                 pthread_mutex_unlock(&(*s_etat_processus).mutex);                  if (pthread_mutex_unlock(&(*s_etat_processus)
                           .mutex_interruptions) != 0)
                   {
                       (*s_etat_processus).erreur_systeme = d_es_processus;
                   }
             }              }
   
             if (((*s_etat_processus).nombre_interruptions_en_queue != 0) &&              if (((*s_etat_processus).nombre_interruptions_en_queue != 0) &&

Removed from v.1.87  
changed lines
  Added in v.1.114


CVSweb interface <joel.bertrand@systella.fr>