Re: Checking for infinite loops



hOURS am Donnerstag, 7. Dezember 2006 06:51:
Thanks for trying, but this right here is the heart of the matter.
I’d be using alarm to time a certain thing. It seems to me, any
explanation of how to do that, be it plain English or sample code has to
incorporate that thing. My program in a nutshell goes:
Blah blah blah the beginning part
require someprogramthatmayhaveaninfiniteloop.pl
Blah blah blah the ending part
Note that’s not the literal code. :)
As it stands if someprogramthatmayhaveaninfiniteloop.pl does go on
forever I will never get to the ending part. How would one add alarm to
this such that the ending part gets executed regardless? Fred Kittelmann

> Where is the thing being timed? I understand something is being
> given 5 seconds, but what?

Hello Fred

I doubt that I understand what you exactly want (get your code working? Know
how alarm works in detail?).

Maybe somebody else does.

If not, could you provide a trimmed down version of your program (the main
program and the required someprogramthatmayhaveaninfiniteloop.pl) that can be
run and modified.


Dani


.



Relevant Pages

  • Re: ZoneAlarm Pro 3 Cant access Rush Limbaugh site
    ... cry cry cry learn how to use it i have no problem ... >Blah blah blah ... >>> Works fine when Zone Alarm is not started. ... I just loaded the site with ZAP3 running fairly aggressive privacy ...
    (comp.security.firewalls)
  • Re: ZoneAlarm Pro 3 Cant access Rush Limbaugh site
    ... Blah blah blah ... >> Works fine when Zone Alarm is not started. ... >> Only get a blank page when Zone Alarm is active. ... I just loaded the site with ZAP3 running fairly aggressive privacy ...
    (comp.security.firewalls)
  • Re: Insewerants companies, again...
    ... <snip quotes that are all over the place> ... Targa - despite it being less sought after - must be ... must have alarm etc blah blah. ...
    (uk.rec.motorcycles)
  • Re: Checking for infinite loops
    ... Blah blah blah the ending part ... How would one add alarm to this such that the ending part gets executed regardless? ... # Tell OS to not cause a SIGALRM interrupt any more. ... if {# Something in the above block called die() ...
    (perl.beginners)
  • Re: OT: Desperate Guy
    ... Ergh, no! ... :) Just that you know the worldwide phenomenon about this ... instead of females' explanation because they always say the ... you'll find a nice girl, blah blah, etc.--which doesn't help one bit, ...
    (rec.martial-arts)