*** empty log message ***

This commit is contained in:
glenux 2004-02-23 16:32:20 +00:00
parent 4994b51568
commit b35fd587fd

View file

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