> At 08:50 AM 1/13/00 +0200, you wrote:
> >> Does anyone have experience using an alarm() call under Apache::Registry?
> >
> >http://perl.apache.org/guide/debug.html#Handling_the_server_timeout_case
> >
> >> Should I set alarm(0) as my script "exits" or is it ok to leave it set?
> >> I'm using it to cap runaway scripts.
> 
> Just so I understand the Guide - You can safely localize $SIG{ALRM} in 1.21
> and Perl 5.005_03, but not other signal handlers?

Exactly.
 
> In:
> http://perl.apache.org/guide/debug.html#Debugging_Signal_Handlers_SIG_
> 
> The Sys::Signal example is a bit confusing to me, as it uses $SIG{ALRM} in
> the example.  Yet that seems like the one signal where you don't need to
> use Sys::Signal.  Was the example of Sys::Signal written before the
> $SIG{ALRM} fix?

Yes, Doug first created Sys::Signal, then fixed $SIG{ALRM} in mod_perl. 


_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to