httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject Re: Context types in APR.
Date Mon, 03 May 1999 11:15:40 GMT
Greg Stein wrote:
> 
> Can anybody explain why another context would ever be created?

As an example: within the routine library itself, if/when a
library routine needs a private but unbounded work area/whatever
that it intends to release at exit.  Given the current
implementation of pools (no free()), assuming that each
routine can leave droppings all over its caller's context
isn't very friendly -- the routine has no idea what the
parent context's persistence is, and shouldn't care.
-- 
#ken  P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

Mime
View raw message