Hi,
Has anyone used the memory pools fuinctions ?
I used one but it doesn't work, when creating the pool, I fall in the data_handler.
Here is my code :
OS_MEMF* pbigfreeq;
char *pPool;
pPool=OS_malloc(bigbufs * (bigbufsiz + OS_MEMF_SIZEOF_BLOCKCONTROL));
OS_MEMF_Create(pbigfreeq, pPool,bigbufs,bigbufsiz);
Thanks.
Has anyone used the memory pools fuinctions ?
I used one but it doesn't work, when creating the pool, I fall in the data_handler.
Here is my code :
OS_MEMF* pbigfreeq;
char *pPool;
pPool=OS_malloc(bigbufs * (bigbufsiz + OS_MEMF_SIZEOF_BLOCKCONTROL));
OS_MEMF_Create(pbigfreeq, pPool,bigbufs,bigbufsiz);
Thanks.