Hi all,
First, if this is the wrong place to ask this question, please let me
know and I will ask elsewhere.
I have a question about memsys5, which I am using as a general purpose
memory pool in my application. I am allocating fixed size objects, and I
have set mReq to the size of that object (it is a power of 2). I know
that I will only be using N objects at any given time. Is there an easy
way to calculate how much space I need to reserve in order to hold N
objects simultaneously? If I allocate a total of N*sizeof(object) bytes,
it doesn't seem to let me store N objects at the same time. Am I doing
something wrong or is this expected?
Thanks in advance for any tips!
Kind regards,
Philip Bennefall
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users