[ECOS] realloc for variably-sized mempools?
Mark Grosberg
mark@nolab.conman.org
Wed Jul 9 03:33:00 GMT 2003
Hello all,
I have the need to reallocate (grow) blocks of memory allocated from a
variably-sized pool (created with cyg_mempool_var_create).
There seems to be no published API to do this? I could make a
Cyg_Mempool_Variable object and call its methods (which do support
alloc_resize), but this seems like it is an internal object.
What is the best way to solve this?
I would rather not use realloc() for various reasons (lock contention,
avoiding memory starvation, etc).
Thanks,
Mark G.
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list