apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sander Striker" <stri...@apache.org>
Subject RE: apr pool realloc?
Date Sun, 25 Jul 2004 12:14:52 GMT
> From: Branko Cibej [mailto:brane@xbc.nu] 
> Sent: Saturday, July 24, 2004 7:17 PM

> William A. Rowe, Jr. wrote:
> 
> >At 04:06 AM 7/24/2004, Nick Kew wrote:
> >
> >  
> >
> >>Is there some fundamental reason why there's no apr_prealloc()?
> >>
> >>[...] I can't help thinking this should be
> >> (a) standardised.
> >> (b) optimised to work with pools.
> >>    
> >>
> >
> >I've thought that for some time, with the understanding that 
> you can't 
> >be playing in the pool you are reallocing.
> >
> >See the apr_psprintf() vformatter function for apr's internal 
> >implementation, and I'll offer a huge +1 if you care to 
> abstract that 
> >behavior :)
> >  
> >
> I thought Sander had apr_prealloc more or less implemented? Sander?

I had, but there was objection against including it.
I can dig it up ofcourse.


Sander


Mime
View raw message