httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chary" <yaaac...@gmail.com>
Subject re: how to do something in a mod when apache is shutting down?
Date Tue, 05 Feb 2013 06:10:13 GMT
Thanks for your help ,Nick.
Do you mean this function ? 
void apr_pool_cleanup_register 	( 	apr_pool_t *  	p,
		const void *  	data,
		apr_status_t(*)(void *)  	plain_cleanup,
		apr_status_t(*)(void *)  	child_cleanup	 
	) 	

Chary 

On 5 Feb 2013, at 02:29, chary wrote:

> I'm writing a mod for apache, and I need some help.
> 
> how to do something in a mod when apache is shutting down? 
> 
> What kind of hooks could be used?

Register your function as a cleanup on the process pool.

-- 
Nick Kew


Mime
View raw message