version 1.49, 2012/05/21 17:25:45
|
version 1.50, 2012/07/03 13:56:32
|
Line 1323 instruction_swi(struct_processus *s_etat
|
Line 1323 instruction_swi(struct_processus *s_etat
|
} |
} |
else |
else |
{ |
{ |
tid = -1; |
tid = (pthread_t) -1; |
|
|
attente.tv_sec = 0; |
attente.tv_sec = 0; |
attente.tv_nsec = GRANULARITE_us * 1000; |
attente.tv_nsec = GRANULARITE_us * 1000; |
Line 1624 instruction_swi(struct_processus *s_etat
|
Line 1624 instruction_swi(struct_processus *s_etat
|
} |
} |
else |
else |
{ |
{ |
tid = -3; |
tid = (pthread_t) -3; |
|
|
# ifndef SEMAPHORES_NOMMES |
# ifndef SEMAPHORES_NOMMES |
if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0) |
if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0) |