Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!seismo!lll-crg!lll-lcc!pyramid!amiga!neil From: neil@amiga.UUCP (Neil Katin) Newsgroups: net.micro.amiga Subject: Re: Q on AbortIO() Message-ID: <1225@amiga.amiga.UUCP> Date: Tue, 27-May-86 15:15:42 EDT Article-I.D.: amiga.1225 Posted: Tue May 27 15:15:42 1986 Date-Received: Thu, 29-May-86 03:35:59 EDT References: <8605232153.AA01439@pavepaws> Reply-To: neil@rocky.UUCP (Neil Katin) Organization: Commodore-Amiga Inc., 983 University Ave #D, Los Gatos CA 95030 Lines: 27 In article <8605232153.AA01439@pavepaws> dillon@PAVEPAWS.BERKELEY.EDU (Matt Dillon) writes: > > Ok, AbortIO() Fails when the request has already completed. My >question is, when I call AbortIO() and it fails, will it still remove the >request from the reply port? or do I still have to WaitIO() ?????? AbortIO NEVER removes the request from the reply port. All it does is try and get the device to stop processing the request. If the request was actually aborted then the io_Error field will be set to a characteristic value. Also note that AbortIO() is not guaranteed to abort the IO immediately. The device may be committed to completing that operation, and be too involved to back out of the transaction. > Next questions: If I call the sequence: > > AbortIO(); > WaitIO(); > > Will WaitIO() do the right thing when AbortIO() WORKS (e.g. actually > aborts the IO) Yes. Neil Katin Commodore-Amiga