This commit is contained in:
stormrider1982 2004-02-23 11:15:49 +00:00 committed by Glenn Y. Rolland
parent b31b15f4df
commit 63651b23c8

View file

@ -30,6 +30,7 @@ void * msgAllocate(msgSpace *space,
float minPoolCoef;
int selectedPoolIndex;
int bufferFreeIndex;
int mSPoolFd;
msgPoolData * mSPoolDataTabAddr;
@ -185,7 +186,7 @@ void * msgAllocate(msgSpace *space,
/* mapper le buffer libre dans l'esp addr du proc */
strcpy(resultPoolId,mSPoolDataTabAddr[selectedPoolIndex].poolId);
int mSPoolFd=shm_open(resultPoolId,O_RDWR,MSGSPACE_DEFAULT_MODE);
mSPoolFd=shm_open(resultPoolId,O_RDWR,MSGSPACE_DEFAULT_MODE);
resultAddr = mmap( 0,
mSPoolDataTabAddr[selectedPoolIndex].bufferSize,