Article View: comp.sys.amiga.tech
Article #11936Re: Amigix (Re: alarm() function)
From: Deven Corzine
Date: Thu, 23 Mar 1989 21:30
Date: Thu, 23 Mar 1989 21:30
26 lines
2076 bytes
2076 bytes
In article <6381@cbmvax.UUCP> jesup@cbmvax.UUCP (Randell Jesup) writes: >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. Indeed. (I probably would've thought of it sooner or later. :-) Yeah, the timer has time arithmetic functions available... That'll work fine. Will do. Deven -- ------- shadow@pawl.rpi.edu ------- Deven Thomas Corzine --------------------- Cogito shadow@acm.rpi.edu 2346 15th Street Pi-Rho America ergo userfxb6@rpitsmts.bitnet Troy, NY 12180-2306 (518) 272-5847 sum... In the immortal words of Socrates: "I drank what?" ...I think.
Technical Details
Message-ID:
<DEVEN.89Mar23163038@daniel.pawl.rpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!rpi!rpi.edu!devenReferences:
<70@snll-arpagw.UUCP> <SHADOW.89Mar19085542@pawl24.pawl.rpi.edu> <6363@cbmvax.UUCP> <DEVEN.89Mar22211102@daniel.rpi.edu> <6381@cbmvax.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!rpi!rpi.edu!deven From: deven@pawl.rpi.edu (Deven Corzine) Newsgroups: comp.sys.amiga.tech Subject: Re: Amigix (Re: alarm() function) Message-ID: <DEVEN.89Mar23163038@daniel.pawl.rpi.edu> Date: 23 Mar 89 21:30:38 GMT References: <70@snll-arpagw.UUCP> <SHADOW.89Mar19085542@pawl24.pawl.rpi.edu> <6363@cbmvax.UUCP> <DEVEN.89Mar22211102@daniel.rpi.edu> <6381@cbmvax.UUCP> Sender: usenet@rpi.edu Reply-To: shadow@pawl.rpi.edu (Deven Thomas Corzine) Organization: RPI Public Access Workstation Lab, Troy NY Lines: 26 In-reply-to: jesup@cbmvax.UUCP's message of 23 Mar 89 19:34:44 GMT