From e6333e7bc48a30456af64595b5138223832d4572 Mon Sep 17 00:00:00 2001 From: glenux Date: Tue, 24 Feb 2004 11:59:55 +0000 Subject: [PATCH] *** empty log message *** --- src/get.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/get.c b/src/get.c index e76cc78..b5c8e9d 100644 --- a/src/get.c +++ b/src/get.c @@ -39,7 +39,14 @@ void * msgGet(msgSpace * space,int queueIndex,int option){ bufferSize=poolDataTab[oldElem->poolIndex].bufferSize; msgPoolDataTabClose(space,poolDataTab); // mapper le buffer dans l'espace mémoire du processus - +/* resultAddr = mmap( NULL, + bufferSize, + PROT_NONE, //prot PROT_READ | PROT_WRITE + MAP_SHARED, mSPoolFd, + (off_t)0); + bufferNb=mSPoolDataTabAddr[selectedPoolIndex].bufferNb; +*/ + /* TODO: ecrire msgBufferMap(space,poolIndex,bufferIndex) */ // attacher au buffer...