version 1.51, 2011/11/26 10:01:31
|
version 1.52, 2011/12/16 13:46:56
|
Line 45 instruction_spawn(struct_processus *s_et
|
Line 45 instruction_spawn(struct_processus *s_et
|
|
|
pthread_mutexattr_t attributs_mutex; |
pthread_mutexattr_t attributs_mutex; |
|
|
pthread_t thread_id; |
|
pthread_t thread_surveillance; |
pthread_t thread_surveillance; |
|
|
struct_descripteur_thread *s_argument_thread; |
struct_descripteur_thread *s_argument_thread; |
Line 415 instruction_spawn(struct_processus *s_et
|
Line 414 instruction_spawn(struct_processus *s_et
|
|
|
(*s_argument_thread).thread_actif = d_faux; |
(*s_argument_thread).thread_actif = d_faux; |
|
|
if (pthread_create(&thread_id, &attributs, lancement_thread, |
if (pthread_create(&(*s_nouvel_etat_processus).tid, |
s_argument_thread) != 0) |
&attributs, lancement_thread, s_argument_thread) != 0) |
{ |
{ |
(*s_etat_processus).erreur_systeme = d_es_processus; |
(*s_etat_processus).erreur_systeme = d_es_processus; |
return; |
return; |