version 1.39, 2010/05/25 18:09:45
|
version 1.43, 2010/06/19 15:54:51
|
Line 445 void *debug_memoire_modification(void *p
|
Line 445 void *debug_memoire_modification(void *p
|
void debug_memoire_retrait(void *ptr); |
void debug_memoire_retrait(void *ptr); |
void debug_memoire_verification(); |
void debug_memoire_verification(); |
|
|
void debug_memoire_verrouillage(); |
|
void debug_memoire_deverrouillage(); |
|
|
|
pid_t debug_fork(); |
pid_t debug_fork(); |
|
|
#define malloc(s) debug_memoire_ajout(s, __FUNCTION__, __LINE__, #s) |
#define malloc(s) debug_memoire_ajout(s, __FUNCTION__, __LINE__, #s) |
Line 1135 typedef struct descripteur_thread
|
Line 1132 typedef struct descripteur_thread
|
pthread_t thread_pere; |
pthread_t thread_pere; |
|
|
pthread_mutex_t mutex; |
pthread_mutex_t mutex; |
|
|
volatile logical1 thread_actif; |
volatile logical1 thread_actif; |
|
|
int pipe_erreurs[2]; |
int pipe_erreurs[2]; |
Line 1855 typedef struct processus
|
Line 1853 typedef struct processus
|
|
|
// Mutex spécifique au processus et donnant accès à la pile des processus |
// Mutex spécifique au processus et donnant accès à la pile des processus |
pthread_mutex_t mutex; |
pthread_mutex_t mutex; |
|
pthread_mutex_t mutex_allocation; |
|
|
// Sémaphore autorisant les fork() |
// Sémaphore autorisant les fork() |
sem_t |
sem_t |