*** empty log message ***
This commit is contained in:
parent
7dcf1382fc
commit
661d4d6048
1 changed files with 5 additions and 2 deletions
|
@ -48,7 +48,7 @@ sem_t * poolDataTabSemFd;
|
||||||
// TODO: verouiller semaphore DataInfo
|
// TODO: verouiller semaphore DataInfo
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
printf("FREE-SEMWAIT\n");
|
poolIndex=-1; bufferIndex=-1;
|
||||||
err=msgBufferGetProcAttach(
|
err=msgBufferGetProcAttach(
|
||||||
poolDataTabAddr,
|
poolDataTabAddr,
|
||||||
space->poolNb,
|
space->poolNb,
|
||||||
|
@ -57,7 +57,10 @@ sem_t * poolDataTabSemFd;
|
||||||
addr
|
addr
|
||||||
);
|
);
|
||||||
|
|
||||||
msgBufferDetachProc(poolDataTabAddr,poolIndex,bufferIndex,addr);
|
printf("Found : %d\n",err);
|
||||||
|
printf("Freing pool: %d, buffer: %d\n",poolIndex,bufferIndex);
|
||||||
|
//msgBufferDetachProc(poolDataTabAddr,poolIndex,bufferIndex,addr);
|
||||||
|
printf("FREE-SEMWAIT\n");
|
||||||
|
|
||||||
/* unmapper le msgPoolDataTab */
|
/* unmapper le msgPoolDataTab */
|
||||||
munmap(poolDataTabAddr,(space->poolNb) * sizeof( msgPoolData ));
|
munmap(poolDataTabAddr,(space->poolNb) * sizeof( msgPoolData ));
|
||||||
|
|
Loading…
Reference in a new issue