From 9b48b4bd624f140eea52e244313f57870ee36239 Mon Sep 17 00:00:00 2001 From: glenux Date: Thu, 19 Feb 2004 23:00:12 +0000 Subject: [PATCH] =?UTF-8?q?*=20modifi=C3=A9=20les=20valeurs=20(nombre=20de?= =?UTF-8?q?=20buffer=20allou=C3=A9s,=20remplissage=20des=20infos=20sur=20l?= =?UTF-8?q?es=20buffers)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/create_delete.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/create_delete.c b/test/create_delete.c index e5ecdfa..da62b63 100644 --- a/test/create_delete.c +++ b/test/create_delete.c @@ -7,10 +7,18 @@ int main(void) { msgSpaceId testId; msgSpace * mSPAC; + msgPool poolInfos[2]; + poolInfos[0].bufferNb=4; + poolInfos[0].bufferSize=200; + + poolInfos[1].bufferNb=1; + poolInfos[1].bufferSize=700; + strcpy(testId,"test"); printf("RequestedId: %s\n",testId); - mSPAC=msgSpaceCreate(testId,0,0,NULL); + + mSPAC=msgSpaceCreate(testId,0,2,poolInfos); msgSpaceDelete(testId); return 0;