version 1.23, 2010/08/13 21:00:37
|
version 1.27, 2010/08/31 09:51:30
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.0.18 |
RPL/2 (R) version 4.0.19 |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
Copyright (C) 1989-2010 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 279 instruction_wait(struct_processus *s_eta
|
Line 279 instruction_wait(struct_processus *s_eta
|
code_retour = nanosleep(&temporisation, &temporisation); |
code_retour = nanosleep(&temporisation, &temporisation); |
erreur = errno; |
erreur = errno; |
|
|
|
scrutation_injection(s_etat_processus); |
|
|
|
if ((*s_etat_processus).nombre_interruptions_non_affectees != 0) |
|
{ |
|
affectation_interruptions_logicielles(s_etat_processus); |
|
} |
|
|
|
if ((*s_etat_processus).nombre_interruptions_en_queue != 0) |
|
{ |
|
traitement_interruptions_logicielles(s_etat_processus); |
|
} |
|
|
# ifndef SEMAPHORES_NOMMES |
# ifndef SEMAPHORES_NOMMES |
while(sem_wait(&((*s_etat_processus).semaphore_fork)) == -1) |
while(sem_wait(&((*s_etat_processus).semaphore_fork)) == -1) |
# else |
# else |
Line 291 instruction_wait(struct_processus *s_eta
|
Line 303 instruction_wait(struct_processus *s_eta
|
return; |
return; |
} |
} |
} |
} |
|
|
scrutation_injection(s_etat_processus); |
|
|
|
if ((*s_etat_processus).nombre_interruptions_non_affectees != 0) |
|
{ |
|
affectation_interruptions_logicielles(s_etat_processus); |
|
} |
|
|
|
if ((*s_etat_processus).nombre_interruptions_en_queue != 0) |
|
{ |
|
traitement_interruptions_logicielles(s_etat_processus); |
|
} |
|
} while(((code_retour == -1) && (erreur == EINTR)) |
} while(((code_retour == -1) && (erreur == EINTR)) |
&& ((*s_etat_processus).var_volatile_requete_arret == 0)); |
&& ((*s_etat_processus).var_volatile_requete_arret == 0)); |
|
|
Line 1482 instruction_write(struct_processus *s_et
|
Line 1482 instruction_write(struct_processus *s_et
|
adresse_unix.sun_family = AF_UNIX; |
adresse_unix.sun_family = AF_UNIX; |
strncpy(adresse_unix.sun_path, (*((struct_socket *) |
strncpy(adresse_unix.sun_path, (*((struct_socket *) |
(*s_objet_argument_1).objet)).adresse_distante, |
(*s_objet_argument_1).objet)).adresse_distante, |
108); |
UNIX_PATH_MAX); |
adresse_unix.sun_path[108 - 1] = d_code_fin_chaine; |
adresse_unix.sun_path[UNIX_PATH_MAX - 1] = |
|
d_code_fin_chaine; |
|
|
# ifndef SEMAPHORES_NOMMES |
# ifndef SEMAPHORES_NOMMES |
if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0) |
if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0) |
Line 1709 instruction_write(struct_processus *s_et
|
Line 1710 instruction_write(struct_processus *s_et
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |
Line 2918 instruction_wfsock(struct_processus *s_e
|
Line 2919 instruction_wfsock(struct_processus *s_e
|
} |
} |
else |
else |
{ |
{ |
printf("+++Attention : IPv6 support " |
printf("+++Warning : IPv6 support " |
"unavailable\n"); |
"unavailable\n"); |
} |
} |
# endif |
# endif |