version 1.98, 2011/11/26 10:01:33
|
version 1.99, 2011/11/26 13:05:03
|
Line 2757 rplinit(int argc, char *argv[], unsigned
|
Line 2757 rplinit(int argc, char *argv[], unsigned
|
l_element_courant = (*s_etat_processus).liste_mutexes; |
l_element_courant = (*s_etat_processus).liste_mutexes; |
while(l_element_courant != NULL) |
while(l_element_courant != NULL) |
{ |
{ |
pthread_mutex_trylock(&((*((struct_mutex *) |
|
(*(*((struct_liste_chainee *) |
|
l_element_courant)).donnee).objet)).mutex)); |
|
pthread_mutex_unlock(&((*((struct_mutex *) |
|
(*(*((struct_liste_chainee *) |
|
l_element_courant)).donnee).objet)).mutex)); |
|
pthread_mutex_destroy(&((*((struct_mutex *) |
|
(*(*((struct_liste_chainee *) |
|
l_element_courant)).donnee).objet)).mutex)); |
|
|
|
liberation(s_etat_processus, |
liberation(s_etat_processus, |
(*((struct_liste_chainee *) |
(*((struct_liste_chainee *) |
l_element_courant)).donnee); |
l_element_courant)).donnee); |