version 1.44, 2011/11/26 10:01:31
|
version 1.51, 2012/08/22 10:47:17
|
Line 1
|
Line 1
|
/* |
/* |
================================================================================ |
================================================================================ |
RPL/2 (R) version 4.1.5 |
RPL/2 (R) version 4.1.10 |
Copyright (C) 1989-2011 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 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) |