is it possible to hook into an event fired when the workers are shutdown, if so 
how?  basically i am interested in the cleanup process modules enter when their 
associated worker threads either crash or are stopped/restarted.



________________________________
From: Nick Kew <n...@apache.org>
To: modules-dev@httpd.apache.org
Sent: Mon, January 10, 2011 6:43:42 PM
Subject: Re: module configuration kill

On Mon, 10 Jan 2011 14:16:43 -0800 (PST)
Peter Janovsky <peterjanov...@yahoo.com> wrote:

> how do i go about preserving variable state specific to the individual worker?

On a restart, the old pools are cleaned up before reinitialisation starts.
So in your cleanups, you can reset any variables that need reinitialising
from a virgin state.

-- 
Nick Kew

Available for work, contract or permanent.
http://www.webthing.com/~nick/cv.html



      

Reply via email to