[Israel.pm] $SIG{ALRM} and alarm.
Meron Cohen
Meron.Cohen at ecitele.com
Thu May 31 11:54:18 EEST 2007
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?
More information about the Perl
mailing list