Article View: comp.sys.amiga.tech
Article #11935Re: Amigix (Re: alarm() function)
From: Randell Jesup
Date: Thu, 23 Mar 1989 19:34
Date: Thu, 23 Mar 1989 19:34
17 lines
1441 bytes
1441 bytes
In article <DEVEN.89Mar22211102@daniel.rpi.edu> shadow@pawl.rpi.edu (Deven Thomas Corzine) writes:
> > CheckIO only tells you whether the request hs finished.
>
>True. I suppose you could look at the IOrequest which probably
>contains the remaining time, but that's not legal, and not nice at
>all. So, the question is, is there a legal way to find the time
>remaining on a timer request? AbortIO/WaitIO and THEN check the time
>fields? Something else? (Preferably something that won't break in
>the future...)
Remember the time you started the request, and the length, seperately
from the IO request itself. To determine how much time is left, ask timer
what time it is, and use determine the amount of time remaining. I think
timer has an entry for subtracting time values for you.
--
Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup
Technical Details
Message-ID:
<6381@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!jesupReferences:
<70@snll-arpagw.UUCP> <SHADOW.89Mar19085542@pawl24.pawl.rpi.edu> <6363@cbmvax.UUCP> <DEVEN.89Mar22211102@daniel.rpi.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!oliveb!amiga!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: Amigix (Re: alarm() function) Message-ID: <6381@cbmvax.UUCP> Date: 23 Mar 89 19:34:44 GMT References: <70@snll-arpagw.UUCP> <SHADOW.89Mar19085542@pawl24.pawl.rpi.edu> <6363@cbmvax.UUCP> <DEVEN.89Mar22211102@daniel.rpi.edu> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 17