Article View: comp.sys.amiga.tech
Article #1554Re: Wait()
From: Chuck McManis
Date: Fri, 06 Oct 1989 19:16
Date: Fri, 06 Oct 1989 19:16
14 lines
1066 bytes
1066 bytes
In article <3930@blake.acs.washington.edu> (Dale Larson) writes:
> Wait(timerport->mp_SigBit);
>This does not work (hangs), but
Try
Wait(1 << timerport->mp_SigBit);
Note that SigBit is the bitnumber and you have to shift a 1 bit left by
that number to get the appropriate signal mask.
--Chuck McManis
uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.
"If I were driving a Macintosh, I'd have to stop before I could turn the wheel."
Technical Details
Message-ID:
<125950@sun.Eng.Sun.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!sun-barr!newstop!sun!pepper!cmcmanisReferences:
<3930@blake.acs.washington.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!sun-barr!newstop!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Wait() Keywords: Wait() WaitPort() timer.device Message-ID: <125950@sun.Eng.Sun.COM> Date: 6 Oct 89 19:16:31 GMT References: <3930@blake.acs.washington.edu> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Organization: Sun Microsystems, Mountain View Lines: 14