Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!uwm.edu!ux1.cso.uiuc.edu!tank!eecae!cps3xx!usenet From: usenet@cps3xx.UUCP (Usenet file owner) Newsgroups: comp.sys.amiga.tech Subject: Re: Aborting TimerReq (answer and a question) Keywords: timer.device AbortIO() WaitIO() Wait() Message-ID: <5509@cps3xx.UUCP> Date: 24 Nov 89 01:29:15 GMT References: <4499@blake.acs.washington.edu> <4883@amiga.UUCP> Reply-To: porkka@frith.UUCP (Joe Porkka) Organization: Michigan State University Lines: 23 In article <4883@amiga.UUCP> kodiak@batgirl.UUCP (Robert R. Burns) writes: >In article ... dlarson@blake.acs.washington.edu (Dale Larson) writes: >input device task): > > AbortIO(TimerReq); > WaitIO(TimerReq); A related question: In general (any specifics please) is the following sequence of calls valid: p = CreateExtIO(myport, sizeof(*p)); OpenDevice(device.name , 0, p, flags); /* Note that there are *no* SendIO(p) or DoIO(p) calls here */ AbortIO(p) WaitIO(p); /* Finish clean up here */ The only thing that I think may have problems is the WaitIO(p) call. Would it? Joe Porkka porkka@frith.egr.msu.edu