ARexx (38/65)

From:paul
Date:23 May 2001 at 09:09:04
Subject:Re: Timer device

--- In arexx@y..., ronphil@p... wrote:
> Hello;
>
> Could anybody recommend a library or anything else that operates a
> timer.device that runs as a task without chewing up processor cycles
> just checking and waiting for an event. The time functions in Arexx
> have pretty limited use. What I am trying to do is set some times
and
> have a flag or other signal sent when that event comes up. I can do
> this now but constantly looping and checking the time against a
> varible really bogs down other things that are running. I don't know
> for sure about Arexx but doing this in other interpreters usually
> results in the garbage building up and crashing the computer.
Surely
> there is a more elegant way to do something this simple.

How short do you want this delay? You can always call the AmigaDOS
WAIT command. e.g. ADDRESS COMMAND 'WAIT 2 SECONDS'



Paul

ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/