apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: On to APR 2.0.0? Beyond 9x/ME
Date Sun, 15 Feb 2009 20:47:23 GMT
William A. Rowe, Jr. wrote:
> Branko ─îibej wrote:
>   
>> Justin Erenkrantz wrote:
>>     
>>> 3. make pools runtime-configurable whether they are just a thin
>>> malloc()/free() wrapper or do internal reuse
>>>   
>>>       
>> I think there may be some interest in this ... we've learned the hard
>> way that pools as they stand today, while moderately nice for stateless
>> server implementations, are less than moderately horrible for anything else.
>>     
>
> Nonsense ;-)  It's just a matter of applying the right scope to the right
> objects, and this is far simpler than anticipating when individual byte
> allocations are free()ed.
>   

Oh, certainly. Except that sometimes the "just" is a pretty big one. I
remember once ... well, to make a long story short, control over pool
lifetime wasn't, and we ended up jumping through several Klein bottles
to get there.

-- Brane

Mime
View raw message