Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!hao!ames!sdcsvax!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga Subject: Re: Q: exec/timer.device request cancelling Message-ID: <8705150201.AA18789@cory.Berkeley.EDU> Date: Thu, 14-May-87 22:01:46 EDT Article-I.D.: cory.8705150201.AA18789 Posted: Thu May 14 22:01:46 1987 Date-Received: Sat, 16-May-87 13:10:38 EDT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 23 >I am using the timer.device (UNIT_VBLANK). Do I have to cancel outstanding >timer requests before closing the device and exit'ing? >[Of course.] Of course. >OK then, how? AbortIO() + WaitIO() >I would prefer a command that caused all outstanding requests to be returned >with an error status, CMD_FLUSH would be great - if it was supported by >the device. Sorry, no go. You have to keep track of outstanding requests yourself. Using the Amiga library support, you would have to AbortIO() + WaitIO() each outstanding request before closing the device. I posted a package a while back called DIO which does what you want. I will attempt to send it to you via mail. -Matt