version 1.42, 2012/08/22 10:47:18
|
version 1.44, 2012/12/17 21:22:44
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.10 |
RPL/2 (R) version 4.1.11 |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
Copyright (C) 1989-2012 Dr. BERTRAND Joël |
|
|
This file is part of RPL/2. |
This file is part of RPL/2. |
Line 79 sequenceur_optimise(struct_processus *s_
|
Line 79 sequenceur_optimise(struct_processus *s_
|
(*s_etat_processus).autorisation_empilement_programme = 'Y'; |
(*s_etat_processus).autorisation_empilement_programme = 'Y'; |
(*s_etat_processus).mode_execution_programme = 'N'; |
(*s_etat_processus).mode_execution_programme = 'N'; |
|
|
nb_variables = nombre_variables(s_etat_processus, |
nb_variables = nombre_variables(s_etat_processus); |
(*s_etat_processus).s_arbre_variables); |
|
|
|
if ((tableau = malloc(nb_variables * sizeof(struct_tableau_variables))) |
if ((tableau = malloc(nb_variables * sizeof(struct_tableau_variables))) |
== NULL) |
== NULL) |
Line 94 sequenceur_optimise(struct_processus *s_
|
Line 93 sequenceur_optimise(struct_processus *s_
|
printf("+++System : Not enough memory\n"); |
printf("+++System : Not enough memory\n"); |
} |
} |
|
|
|
liberation_mutexes_arbre_variables_partagees(s_etat_processus, |
|
(*(*s_etat_processus).s_arbre_variables_partagees)); |
return(d_erreur); |
return(d_erreur); |
} |
} |
|
|
liste_variables(s_etat_processus, tableau, 0, |
liste_variables(s_etat_processus, tableau); |
(*s_etat_processus).s_arbre_variables); |
|
|
|
for(i = 0; i < nb_variables; i++) |
for(i = 0; i < nb_variables; i++) |
{ |
{ |