version 1.214, 2013/03/21 14:13:55
|
version 1.216, 2013/03/24 22:06:10
|
Line 19
|
Line 19
|
================================================================================ |
================================================================================ |
*/ |
*/ |
|
|
|
#define DEBUG_ERREURS |
#ifndef INCLUSION_RPL |
#ifndef INCLUSION_RPL |
#define INCLUSION_RPL |
#define INCLUSION_RPL |
|
|
Line 1807 typedef struct arbre_variables_partagees
|
Line 1807 typedef struct arbre_variables_partagees
|
do { \ |
do { \ |
pthread_mutexattr_t attributs_mutex; \ |
pthread_mutexattr_t attributs_mutex; \ |
pthread_mutexattr_init(&attributs_mutex); \ |
pthread_mutexattr_init(&attributs_mutex); \ |
pthread_mutexattr_settype(&attributs_mutex, PTHREAD_MUTEX_NORMAL); \ |
pthread_mutexattr_settype(&attributs_mutex, PTHREAD_MUTEX_RECURSIVE); \ |
pthread_mutex_init(&(mutex), &attributs_mutex); \ |
pthread_mutex_init(&(mutex), &attributs_mutex); \ |
pthread_mutexattr_destroy(&attributs_mutex); \ |
pthread_mutexattr_destroy(&attributs_mutex); \ |
} while(0) |
} while(0) |
Line 1824 typedef struct tableau_variables
|
Line 1824 typedef struct tableau_variables
|
|
|
logical1 variable_verrouillee; |
logical1 variable_verrouillee; |
logical1 variable_masquee; |
logical1 variable_masquee; |
|
pthread_mutex_t *mutex; |
union_position_variable variable_statique; |
union_position_variable variable_statique; |
union_position_variable variable_partagee; |
union_position_variable variable_partagee; |
} struct_tableau_variables; |
} struct_tableau_variables; |