Hi All,

First of all I am new to apache so please escuse me in case of any
inappropriate questions.

I want to enhance the code to handle a new signal (SIGUSR2) , On getting the
signal i should be able to do some specific
processing ( This signal will work as a behaviour change routine ) . So i
made a new signal handler in prefork.c and set that
signal handler function in set_signal function in prefork.c .

Now when we catch the signal the signal handler routine executes but after
it the control goes to my hook set in
ap_hook_post_config , I was excepting the control to continue in ap_mpm_run
(in prefork.c) inside the while loop
" while (!restart_pending && !shutdown_pending)   " .

Can anybody suggest me what i am doing or assuming wrong or if anybody had
some some related coding ,Please share the same


Please share whatever information you can related to adding a new signal and
doing some processing on the basis of that signal

Please reply asap
-- 
Thanks
Saurabh Agarwal

Reply via email to