version 1.116, 2011/09/07 18:53:53
|
version 1.118, 2011/09/09 12:23:25
|
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 392 typedef unsigned char t_8_bits;
|
Line 394 typedef unsigned char t_8_bits;
|
extern jmp_buf contexte_processus; |
extern jmp_buf contexte_processus; |
extern jmp_buf contexte_thread; |
extern jmp_buf contexte_thread; |
|
|
|
extern int signal_test; |
|
|
# ifdef SEMAPHORES_NOMMES |
# ifdef SEMAPHORES_NOMMES |
extern pthread_mutex_t mutex_sem; |
extern pthread_mutex_t mutex_sem; |
# endif |
# endif |
Line 434 typedef unsigned char t_8_bits;
|
Line 438 typedef unsigned char t_8_bits;
|
jmp_buf contexte_processus; |
jmp_buf contexte_processus; |
jmp_buf contexte_thread; |
jmp_buf contexte_thread; |
|
|
|
int signal_test; |
|
|
# ifdef SEMAPHORES_NOMMES |
# ifdef SEMAPHORES_NOMMES |
pthread_mutex_t mutex_sem = PTHREAD_MUTEX_INITIALIZER; |
pthread_mutex_t mutex_sem = PTHREAD_MUTEX_INITIALIZER; |
# endif |
# endif |