You may want to use a dedicated watchdog module such as Proc::Watchdog
Best Regards, Dov Levenglick DSP SoC System and Applications Engineer, Network and Computing Systems Group Freescale Semiconductor Israel Tel. +972-9-952-2804 The information contained in this email is classified as: [ ] Freescale General Business Information [ ] Freescale Internal Use Only [ ] Freescale Confidential Proprietary [x] Personal Memorandum -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meron Cohen Sent: Thursday, May 31, 2007 11:54 To: Perl in Israel Subject: [Israel.pm] $SIG{ALRM} and alarm. Hi all, I'm trying to implement 2 timers in a script. One that timeouts the time that the script runs and another one that timeouts the time that a command that runs on a card (embedded system). Anyway, for timers I use the $SIG{ALRM} and alarm. The problem is that the command "alarm" knows how to wait for one timer only (the second alarm destroy the first alarm). Do you know I to solve that problem? _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
