Geoffrey Young wrote:


Stas Bekman wrote:

[EMAIL PROTECTED] wrote:

geoff 2003/09/04 09:39:44

  Modified:    xs/maps  apr_functions.map
  Log:
  remove deprecated apr_pool_sub_make



in that case shouldn't be the replacement function apr_pool_create_ex be enabled? I suppose it was disabled because the apr_pool_sub_make
wrapper existed, which is no longer the case.


yeah, you're probably right, except that apr_pool_sub_make wasn't being offered at all, since it didn't have an entry in the function table.

enabling apr_pool_create_ex will require that we define apr_abortfunc_t someplace.

Currently APR::Pool::new() can create only parent pools, since it calls apr_pool_create which is defined as:


#define apr_pool_create(newpool, parent) \
    apr_pool_create_ex(newpool, parent, NULL, NULL)

We probably will need to provide functionality to create sub-pools, either by extending the new() method to accept optional arguments (in which case we don't need to have a direct access to apr_pool_create_ex (keep it -), or by providing a new function in which case we will need it.


__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to