version 1.126, 2011/09/19 17:33:17
|
version 1.128, 2011/09/20 08:56:24
|
Line 740 pid_t debug_fork();
|
Line 740 pid_t debug_fork();
|
Erreurs système |
Erreurs système |
-------------------------------------------------------------------------------- |
-------------------------------------------------------------------------------- |
*/ |
*/ |
|
#define DEBUG_ERREURS |
#ifdef DEBUG_ERREURS |
#ifdef DEBUG_ERREURS |
# ifdef MESSAGES |
# ifdef MESSAGES |
# define __erreur(i) i |
# define __erreur(i) i |
Line 2178 typedef struct processus
|
Line 2178 typedef struct processus
|
pthread_mutex_t mutex_allocation; |
pthread_mutex_t mutex_allocation; |
|
|
// Mutex autorisant les fork() |
// Mutex autorisant les fork() |
pthread_mutex_t mutex_fork; |
sem_t semaphore_fork; |
|
|
/* Mutexes */ |
/* Mutexes */ |
|
|