re var
This commit is contained in:
parent
b31b15f4df
commit
63651b23c8
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue