[ECOS] Memory pools

Jonathan Larmour jlarmour@redhat.co.uk
Thu Aug 3 09:04:00 GMT 2000

"Boris V. Guzhov" wrote:
> There is one question.
> I use  the cyg_mempool_var_create() function.
> Is it  possible  to change the pool size after pool creating?

Nope, you can only free all the pointers using it, delete it and recreate

FYI, there are some changes to malloc() to allow it to use all of available
memory (as defined by the memory layout), which should be appearing in anon
CVS shortly.

Perhaps once the new stuff is in (there's quite a lot of changes), you
should be able to extend the variable sized memory pool to support
resizing. It wouldn't be very difficult at all.

Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

More information about the Ecos-discuss mailing list