apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sander Striker <stri...@apache.org>
Subject Re: Memory pools -- support for moving a sub-pool from one pool to an other
Date Thu, 08 Jan 2004 02:25:05 GMT
On Thu, 2004-01-08 at 03:21, Sander Striker wrote:
> On Thu, 2004-01-08 at 02:46, Dipak Patel wrote:
> > This is the third time I'm asking this question. Can anyone please
> > tell me how to use some built in feature of the apr memory pool module
> > to move a sub-pool to under another pool? Our software makes use this
> > type of feature to pass messages from on layer to another where each
> > layer has its own pool. We simply want to take the entire sub-pool and
> > assign it to a new parent.
> Doable.  Should be a fairly tiny patch to make this possible.

Oh, except ofcourse when you are going to take allocators into account.
I'm not so sure you want to have memore be allocated from one allocator
and freed to another...  So you would need to restrict that.


View raw message