using ALRM signal in mod_perl script

2003-01-17 Thread Plamen Stojanov
hi all, is it save to use ALRM signal in my mod_perl script. I hook a handler there, to unlock my semaphores in emeregency. I have a feeling, that apache or mod_perl have conflict with my handler on ALRM, becouse it gets executed, when httpd child process was sleeping. I use apache 1.3.26 and

Re: using ALRM signal in mod_perl script

2003-01-17 Thread Perrin Harkins
Plamen Stojanov wrote: is it save to use ALRM signal in my mod_perl script. I hook a handler there, to unlock my semaphores in emeregency. It should work, but you'd be better off with a cleanup handler. - Perrin