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