Hi,
I have this response handler, within which I've
written this signal handler. When I pass a signal to that particular process, it
is handled only when a request is processed, not when the signal is really
received & all this is over a keepalive connection. I guess the Apache
Process catches the signal .. but does nothing about it. Its only when the
response handler is called, that the signal is passed to my signal handler.
So in effect, my signal handler is used only when a request is processed &
not when the signal is actually received by the process.
What I'm trying to do is .. communicate
between processes & i'm using FIFOs ok & i don't wanna use
blocking IO. So when I write to a FIFO .. I want to send a custom
signal to the appropriate process to read. Does anyone have any ideas ? see if i
do this with perl it works just fine .. thats coz perl has control over the
process in question .. but in this case its apache :(
Thanks a bunch ..
Regards,
Sylbert L |
- Re: Signal Handling in mod_perl ... Sylbert L
- Re: Signal Handling in mod_perl ... Ged Haywood