*** empty log message ***

This commit is contained in:
glenux 2004-02-25 08:16:12 +00:00
parent d353ea2966
commit eb3792cbc7

View file

@ -193,24 +193,22 @@ void * msgAllocate(msgSpace *space,
goto ERROR; goto ERROR;
} }
//TODO:
/* - on s'enregistre aupres de ce buffer */ /* - on s'enregistre aupres de ce buffer */
msgBufferAttachProc(mSPoolDataTabAddr, msgBufferAttachProc(mSPoolDataTabAddr,
selectedPoolIndex, selectedPoolIndex,
bufferFreeIndex, bufferFreeIndex,
resultAddr); resultAddr);
/* close(mSPoolFd); */
msgPoolDataTabUnlock(space); // munmap(mSPoolDataTabAddr,(space->poolNb) * sizeof( msgPoolData ));
/* unmapper le msgPoolDataTab */
msgPoolDataTabClose(space,mSPoolDataTabAddr);
msgPoolDataTabUnlock(space);
/* unmapper le msgPoolDataTab */ printf( "alloc de 0x%08x\n", (int)resultAddr);
munmap(mSPoolDataTabAddr,(space->poolNb) * sizeof( msgPoolData )); return resultAddr;
printf( "alloc de 0x%08x\n", (int)resultAddr);
return resultAddr;
ERROR: ERROR:
NZG_ERROR("msgAllocate","error processing"); NZG_ERROR("msgAllocate","error processing");
msgPoolDataTabUnlock(space); msgPoolDataTabUnlock(space);
munmap(mSPoolDataTabAddr,(space->poolNb) * sizeof( msgPoolData )); munmap(mSPoolDataTabAddr,(space->poolNb) * sizeof( msgPoolData ));
return NULL; return NULL;
} }