ציטוט Meron Cohen:
> 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?

On Unix you setitimer (in Time::HiRes)

_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl

Reply via email to