version 1.100, 2012/07/04 13:19:40
|
version 1.104, 2012/10/05 13:12:39
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.9 |
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 746 liberation_threads(struct_processus *s_e
|
Line 746 liberation_threads(struct_processus *s_e
|
liberation_arbre_variables(s_etat_processus, |
liberation_arbre_variables(s_etat_processus, |
(*s_etat_processus).s_arbre_variables, d_faux); |
(*s_etat_processus).s_arbre_variables, d_faux); |
|
|
for(i = 0; i < (*s_etat_processus).nombre_variables_statiques; i++) |
|
{ |
|
pthread_mutex_trylock(&((*(*s_etat_processus) |
|
.s_liste_variables_statiques[i].objet).mutex)); |
|
pthread_mutex_unlock(&((*(*s_etat_processus) |
|
.s_liste_variables_statiques[i].objet).mutex)); |
|
|
|
liberation(s_etat_processus, (*s_etat_processus) |
|
.s_liste_variables_statiques[i].objet); |
|
free((*s_etat_processus).s_liste_variables_statiques[i].nom); |
|
} |
|
|
|
free((*s_etat_processus).s_liste_variables_statiques); |
|
|
|
// Ne peut être effacé qu'une seule fois |
// Ne peut être effacé qu'une seule fois |
if (suppression_variables_partagees == d_faux) |
if (suppression_variables_partagees == d_faux) |
{ |
{ |