*** empty log message ***
This commit is contained in:
parent
a96c647b0b
commit
a2957a7526
4 changed files with 4 additions and 4 deletions
|
@ -43,7 +43,7 @@ int msgPoolCreate(
|
|||
NZG_ERROR("sem_open : creation de la ressource",poolRessourceSemId);
|
||||
goto ERROR;
|
||||
} else {
|
||||
NZG_ERROR("sem_open : creation oki",poolRessourceSemId);
|
||||
printf("[ Created %s with %d ressources ]\n",poolRessourceSemId,buffNb);
|
||||
}
|
||||
|
||||
//TODO: verrifier les erreurs sur l'ouverture de la sem
|
||||
|
|
|
@ -42,7 +42,7 @@ int msgQueueAdd(msgQueue * queue, msgQueueElemId newElemId){
|
|||
|
||||
// on incremente elemCounter
|
||||
queue->elemCounter++;
|
||||
|
||||
return 0;
|
||||
ERROR:
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ int main(void) {
|
|||
printf("CREATION ------------------ ok\n");
|
||||
|
||||
mSPAC=msgSpaceOpen(testId);
|
||||
montext=msgAllocate(mSPAC,2,280,0);
|
||||
montext=msgAllocate(mSPAC,1,280,0);
|
||||
*montext=42;
|
||||
printf("### test Valeur0 %d ###\n",(int)*montext);
|
||||
printf("Put..."); fflush(stdout);
|
||||
|
|
Loading…
Reference in a new issue