Diff for /rpl/src/rpl.h between versions 1.112 and 1.119

version 1.112, 2011/08/29 07:43:02 version 1.119, 2011/09/10 20:45:07
Line 25 Line 25
   
 #ifndef __RPLCAS  #ifndef __RPLCAS
 #   define _GNU_SOURCE  #   define _GNU_SOURCE
 #   define _POSIX_C_SOURCE      200112L  #   define _XOPEN_SOURCE        700
 #endif  #endif
   
 #define _REENTRANT  #define _REENTRANT
Line 311  union semun Line 311  union semun
 #       define SIGABORT             SIGTHR  #       define SIGABORT             SIGTHR
 #   endif  #   endif
 //  Arręt d'un processus fils depuis autre chose que STOP  //  Arręt d'un processus fils depuis autre chose que STOP
 #   if defined(Darwin) || defined(OpenBSD)  #   if defined(Darwin) || defined(OpenBSD) || defined(NetBSD)
 #       define SIGFABORT            SIGINFO  #       define SIGFABORT            SIGINFO
 #   else  #   else
 #       define SIGFABORT            SIGPOLL  #       define SIGFABORT            SIGPOLL
 #   endif  #   endif
   
   #   define SIGTEST                  SIGILL
   
 //  Nombre d'interruptions disponibles  //  Nombre d'interruptions disponibles
 #   define d_NOMBRE_INTERRUPTIONS   64  #   define d_NOMBRE_INTERRUPTIONS   64
 #endif  #endif
Line 389  typedef unsigned char   t_8_bits; Line 391  typedef unsigned char   t_8_bits;
   
         extern jmp_buf              contexte;          extern jmp_buf              contexte;
         extern jmp_buf              contexte_initial;          extern jmp_buf              contexte_initial;
           extern jmp_buf              contexte_processus;
           extern jmp_buf              contexte_thread;
   
           extern int                  signal_test;
   
           extern pid_t                pid_processus_pere;
   
 #       ifdef SEMAPHORES_NOMMES  #       ifdef SEMAPHORES_NOMMES
         extern pthread_mutex_t      mutex_sem;          extern pthread_mutex_t      mutex_sem;
Line 429  typedef unsigned char   t_8_bits; Line 437  typedef unsigned char   t_8_bits;
   
         jmp_buf                     contexte;          jmp_buf                     contexte;
         jmp_buf                     contexte_initial;          jmp_buf                     contexte_initial;
           jmp_buf                     contexte_processus;
           jmp_buf                     contexte_thread;
   
           int                         signal_test;
   
           pid_t                       pid_processus_pere;
   
 #       ifdef SEMAPHORES_NOMMES  #       ifdef SEMAPHORES_NOMMES
         pthread_mutex_t             mutex_sem = PTHREAD_MUTEX_INITIALIZER;          pthread_mutex_t             mutex_sem = PTHREAD_MUTEX_INITIALIZER;
Line 1845  typedef struct processus Line 1859  typedef struct processus
 #       define RTLD_LOCAL       0  #       define RTLD_LOCAL       0
 #   endif  #   endif
   
       int                         signal;
       pid_t                       origine_signal;
       logical1                    signal_a_traiter;
   
 /* Contextes                                            */  /* Contextes                                            */
   
     struct_liste_chainee        *l_base_pile_contextes;      struct_liste_chainee        *l_base_pile_contextes;
Line 2059  typedef struct processus Line 2077  typedef struct processus
   
 /* Traitement des erreurs                               */  /* Traitement des erreurs                               */
   
       unsigned int                compteur_violation_d_acces;
     unsigned int                erreur_compilation;      unsigned int                erreur_compilation;
     unsigned int                erreur_execution;      unsigned int                erreur_execution;
     unsigned int                erreur_systeme;      unsigned int                erreur_systeme;
Line 2770  void instruction_t_vers_l(struct_process Line 2789  void instruction_t_vers_l(struct_process
   
 void instruction_ucase(struct_processus *s_etat_processus);  void instruction_ucase(struct_processus *s_etat_processus);
 void instruction_uchol(struct_processus *s_etat_processus);  void instruction_uchol(struct_processus *s_etat_processus);
 void instruction_undo(struct_processus *s_etat_processus);  
 void instruction_unlock(struct_processus *s_etat_processus);  void instruction_unlock(struct_processus *s_etat_processus);
 void instruction_unprotect(struct_processus *s_etat_processus);  void instruction_unprotect(struct_processus *s_etat_processus);
 void instruction_until(struct_processus *s_etat_processus);  void instruction_until(struct_processus *s_etat_processus);
Line 2951  void retrait_thread_surveillance(struct_ Line 2969  void retrait_thread_surveillance(struct_
         struct_descripteur_thread *s_argument_thread);          struct_descripteur_thread *s_argument_thread);
 void rplcore(struct_processus *s_etat_processus);  void rplcore(struct_processus *s_etat_processus);
 void scrutation_injection(struct_processus *s_etat_processus);  void scrutation_injection(struct_processus *s_etat_processus);
   void scrutation_interruptions(struct_processus *s_etat_processus);
 void sf(struct_processus *s_etat_processus, unsigned char indice_drapeau);  void sf(struct_processus *s_etat_processus, unsigned char indice_drapeau);
 void *surveillance_processus(void *argument);  void *surveillance_processus(void *argument);
 void swap(void *variable_1, void *variable_2, unsigned long taille_octets);  void swap(void *variable_1, void *variable_2, unsigned long taille_octets);

Removed from v.1.112  
changed lines
  Added in v.1.119


CVSweb interface <joel.bertrand@systella.fr>