On Thu, 2008-11-13 at 04:49 -0800, Anurag Gujral wrote:
> Hi All,
>             I need to call function modulename_child_exit in apache
> 2.0 to free resources that are allocated in 
> modulename_child_init. How should I  use that function so that it gets
> called only when child dies.
>  
> Plz Comment
>  
> Thanks
> Anurag
> 

When you allocate resources, you should register a cleanup function for
them and tie it to the configuration pool. 
See http://www.apachetutor.org/dev/pools and 
http://wiki.apache.org/httpd/ModuleLife

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to