version 1.260, 2015/01/28 11:45:44
|
version 1.274, 2015/07/21 12:22:16
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.20 |
RPL/2 (R) version 4.1.22 |
Copyright (C) 1989-2015 Dr. BERTRAND Joël |
Copyright (C) 1989-2015 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 38
|
Line 38
|
# ifdef OpenBSD |
# ifdef OpenBSD |
# define _BSD_SOURCE |
# define _BSD_SOURCE |
# endif |
# endif |
|
|
|
# ifdef FreeBSD |
|
# define __BSD_VISIBLE 1 |
|
# endif |
#endif |
#endif |
|
|
#ifdef OS2 |
#ifdef OS2 |
Line 212
|
Line 216
|
# undef HAVE_STACK_OVERFLOW_RECOVERY |
# undef HAVE_STACK_OVERFLOW_RECOVERY |
# endif |
# endif |
|
|
# define HAVE_INLINE |
|
# define GSL_RANGE_CHECK_OFF |
# define GSL_RANGE_CHECK_OFF |
# include "gsl/gsl_cdf.h" |
# include "gsl/gsl_cdf.h" |
# include "gsl/gsl_cblas.h" |
# include "gsl/gsl_cblas.h" |
Line 323 typedef struct queue_signaux
|
Line 326 typedef struct queue_signaux
|
volatile logical1 requete_arret; |
volatile logical1 requete_arret; |
|
|
pthread_t thread_signaux; |
pthread_t thread_signaux; |
|
pid_t controle; |
|
|
volatile struct |
volatile struct |
{ |
{ |
Line 2357 typedef struct processus
|
Line 2361 typedef struct processus
|
struct timeval horodatage_profilage; |
struct timeval horodatage_profilage; |
|
|
pthread_mutex_t mutex_allocation; |
pthread_mutex_t mutex_allocation; |
|
pthread_mutex_t mutex_allocation_buffer; |
pthread_mutex_t mutex_interruptions; |
pthread_mutex_t mutex_interruptions; |
pthread_mutex_t mutex_pile_processus; |
pthread_mutex_t mutex_pile_processus; |
pthread_mutex_t mutex_signaux; |
pthread_mutex_t mutex_signaux; |
Line 2391 typedef struct processus
|
Line 2396 typedef struct processus
|
integer8 taille_pile_objets; |
integer8 taille_pile_objets; |
struct_objet *pile_objets; |
struct_objet *pile_objets; |
|
|
# define TAILLE_CACHE 1024 |
# define TAILLE_CACHE 1024 |
# define CACHE(type, nom) \ |
# define CACHE(type, nom) \ |
type *objets_##nom[TAILLE_CACHE]; \ |
type *objets_##nom[TAILLE_CACHE]; \ |
int pointeur_##nom; |
volatile int pointeur_##nom; |
|
|
# define CACHE2(type, nom) \ |
# define CACHE2(type, nom) \ |
type *nom[TAILLE_CACHE]; \ |
type *nom[TAILLE_CACHE]; \ |
int pointeur_##nom; |
volatile int pointeur_##nom; |
|
|
CACHE(integer8, adr) |
CACHE(integer8, adr) |
CACHE(logical8, bin) |
CACHE(logical8, bin) |