|
|
Choosing A Webhost: |
Re: [patch] Apache->server->pool: msg#00128apache.mod-perl.devel
Geoffrey Young wrote:
I meant to use $s->process->pool to get the pool. I didn't do any claims about cleanup_register() on server working ;) anyway, here is a patch that seems to fit the bill. well, almost. it implements Apache->server->pool(), which you can now use to register cleanups via Apache->server->pool->cleanup_register(). all tests pass. $s->process->pool is working. The cleanup registration is not. It's not the same. My question was whether we need to have an alias so we can get $s->pool do $s->process->pool. actually, now that I know this, yup, the main pool. is really what I was after, since I want to capture configuration -HUP changes. it's nice that process_rec gives you that kind of granularity. cool. Cool. and the modperl_child_exit function in the same file. Notice how the child_exit is executed and that the pool is cleared only if destruct level is set. So this part probably needs work. __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 2.0 API freeze (or lack thereof), Stas Bekman |
|---|---|
| Next by Date: | Re: [patch] Apache->server->pool, Geoffrey Young |
| Previous by Thread: | Re: [patch] Apache->server->pool, Geoffrey Young |
| Next by Thread: | Re: [patch] Apache->server->pool, Geoffrey Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |