Ajout d'un -1 très utile

master
Philippe Pittoli 2011-03-24 00:59:27 +01:00
parent 95002771be
commit fb861ac822
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ int main( int argc, char **argv)
P(mutex_data);
vartemp = (int) memoireP->tete;
msgtemp = (MSG) memoireP->f[vartemp];
msgtemp = (MSG) memoireP->f[vartemp -1 ];
V(mutex_data);
if(numTete != vartemp)