version 1.49, 2013/05/28 22:09:55
|
version 1.79, 2025/04/15 10:17:51
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.14 |
RPL/2 (R) version 4.1.36 |
Copyright (C) 1989-2013 Dr. BERTRAND Joël |
Copyright (C) 1989-2025 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
|
|
Line 51 instruction_alarm(struct_processus *s_et
|
Line 51 instruction_alarm(struct_processus *s_et
|
|
|
struct_objet *s_objet_argument; |
struct_objet *s_objet_argument; |
|
|
struct timeb st; |
|
|
|
struct timespec attente; |
struct timespec attente; |
|
|
struct timeval debut_interruption; |
struct timeval debut_interruption; |
Line 64 instruction_alarm(struct_processus *s_et
|
Line 62 instruction_alarm(struct_processus *s_et
|
struct tm s_time_registre; |
struct tm s_time_registre; |
|
|
time_t alarme; |
time_t alarme; |
|
time_t st; |
|
|
(*s_etat_processus).erreur_execution = d_ex; |
(*s_etat_processus).erreur_execution = d_ex; |
|
|
Line 149 instruction_alarm(struct_processus *s_et
|
Line 148 instruction_alarm(struct_processus *s_et
|
return; |
return; |
} |
} |
|
|
st.time = time(NULL); |
st = time(NULL); |
s_time_actuel = localtime(&(st.time)); |
s_time_actuel = localtime(&st); |
|
|
l_element_courant = (*s_objet_argument).objet; |
l_element_courant = (*s_objet_argument).objet; |
s_time_alarme.tm_hour = (int) (*((integer8 *) (*(*l_element_courant) |
s_time_alarme.tm_hour = (int) (*((integer8 *) (*(*l_element_courant) |
Line 233 instruction_alarm(struct_processus *s_et
|
Line 232 instruction_alarm(struct_processus *s_et
|
return; |
return; |
} |
} |
|
|
while((duree = difftime(alarme, st.time)) < 0) |
while((duree = difftime(alarme, st)) < 0) |
{ |
{ |
if (specification_date == d_vrai) |
if (specification_date == d_vrai) |
{ |
{ |