/[Apache-SVN]/perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod
ViewVC logotype

Diff of /perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod	2004/12/09 01:40:01	111336
+++ perl/modperl/docs/trunk/src/docs/2.0/user/coding/coding.pod	2004/12/09 01:40:25	111337
@@ -68,7 +68,7 @@ on the pool object of choice. Here are s
 
 To run something at the server shutdown and restart use a cleanup
 handler registered on
-C<L<base_server_pool()|docs::2.0::api::Apache::ServerUtil/C_base_server_pool_>>
+C<L<server_shutdown_cleanup_register()|docs::2.0::api::Apache::ServerUtil/C_server_shutdown_cleanup_register_>>
 in F<startup.pl>:
 
   #PerlRequire startup.pl
@@ -76,8 +76,7 @@ in F<startup.pl>:
   use APR::Pool ();
   
   warn "parent pid is $$\n";
-  $base_server_pool = Apache::ServerUtil::base_server_pool();
-  $base_server_pool->cleanup_register(\&cleanup);
+  Apache::ServerUtil::server_shutdown_cleanup_register((\&cleanup);
   sub cleanup { warn "server cleanup in $$\n" }
 
 This is usually useful when some server-wide cleanup should be

 

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26