[Israel.pm] $SIG{ALRM} and alarm.

Levenglick Dov-RM07994 dovl at freescale.com
Thu May 31 15:16:07 EEST 2007


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: perl-bounces at perl.org.il [mailto:perl-bounces at perl.org.il] 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
Perl at perl.org.il
http://perl.org.il/mailman/listinfo/perl




More information about the Perl mailing list