version 1.29, 2010/12/10 15:36:21
|
version 1.45, 2011/09/10 20:45:06
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.20 |
RPL/2 (R) version 4.1.3 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2011 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 3405 scrutation_injection(struct_processus *s
|
Line 3405 scrutation_injection(struct_processus *s
|
{ |
{ |
fd_set ensemble_descripteurs; |
fd_set ensemble_descripteurs; |
|
|
|
logical1 drapeau_erreur; |
|
logical1 registre_arret_si_exception; |
|
|
# if !defined(OpenBSD) && !defined(OS2) |
# if !defined(OpenBSD) && !defined(OS2) |
struct timespec timeout; |
struct timespec timeout; |
# else |
# else |
struct timeval timeout; |
struct timeval timeout; |
# endif |
# endif |
|
|
logical1 drapeau_erreur; |
|
logical1 registre_arret_si_exception; |
|
|
|
unsigned char tampon; |
unsigned char tampon; |
unsigned char tampon_profilage[20]; |
unsigned char tampon_profilage[20]; |
|
|
// Si on est dans le processus père, il n'y a rien à surveiller. |
// Si on est dans le processus père, il n'y a rien à surveiller. |
|
|
|
scrutation_interruptions(s_etat_processus); |
|
|
if ((*s_etat_processus).var_volatile_processus_racine == 0) |
if ((*s_etat_processus).var_volatile_processus_racine == 0) |
{ |
{ |
FD_ZERO(&ensemble_descripteurs); |
FD_ZERO(&ensemble_descripteurs); |