home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!asuvax!ukma!cs.widener.edu!dsinc!bagate!cbmvax!cbmehq!cbmger!edohwg!heinz
- From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Aborting Timer requests
- Message-ID: <heinz.06fs@edohwg.adsp.sub.org>
- Date: 24 Jan 93 12:32:27 GMT
- References: <nsgls*pb1@wolf359.UUCP>
- Organization: Edotronik GmbH
- Lines: 26
-
- In article <nsgls*pb1@wolf359.UUCP> eric@wolf359.UUCP (Eric Edwards) writes:
- >My query is: Why is the signal still active after AbortIO and WaitIO?
- >What do I need to do to reset it?
-
- A quote from the WaitIO() autodocs:
-
- WARNING
- If this IORequest was "Quick" or otherwise finished BEFORE this
- call, this function drops though immediately, with no call to
- Wait(). A side effect is that the signal bit related the port may
- remain set. Expect this.
-
- So you need either a CheckIO after the Wait() call to see if the request
- has really finsihed or you need to SetSignal() the siganl to zero after
- WaitIO() Myself, I'd prefer the CheckIO solution, I don't like messing with
- signal bits.
-
- >Smart: eric@wolf359.uucp Dumb: wuarchive.wustl.edu!wolf359!eric
-
- --
- Heinz Wrobel, Edotronik GmbH (ECG018)
- FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
- Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
- "It's good to have a mouse, it's faster if you can do without one..."
- "He who doesn't develop with an A2024 doesn't know about font independent
- user interfaces..."
-