*** empty log message ***

This commit is contained in:
glenux 2004-02-25 11:34:49 +00:00 committed by Glenn Y. Rolland
parent 0e0a5f6748
commit 62f4ef6f3a
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -48,7 +48,7 @@ int msgPut(msgSpace * space,int queueIndex, void * addr){
} }
//ajouter le message a la bonne file... //ajouter le message a la bonne file...
if (msgQueueAdd(queue,newElemId) <0){ if (msgQueueAdd(queue,newElemId) < 0){
NZG_ERROR("msgQueueAdd",""); NZG_ERROR("msgQueueAdd","");
goto ERROR; goto ERROR;
} }

View file

@ -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;
} }

View file

@ -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);