Article View: comp.sys.amiga.tech
Article #2966Wait()ing Peacefully
From: Ben W. Discoe
Date: Fri, 16 Mar 1990 21:44
Date: Fri, 16 Mar 1990 21:44
9 lines
815 bytes
815 bytes
How do you Wait() on several ports simultaneously? I know how to wait on, say, the serial device, console device and an IDCMP individually, but what I really need to do is wait on a message from any one of them. I tried: waitflags = <port 1's bit> | <port 2's bit> |.... ; Wait(waitflags); but this didn't seem to work. -Ben "But I READ the manual! Honest!"
Technical Details
Message-ID:
<1990Mar16.214401.1738@spectre.ccsf.caltech.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!jarthur!spectre.ccsf.caltech.edu!tybalt.caltech.edu!bdiscoeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!jarthur!spectre.ccsf.caltech.edu!tybalt.caltech.edu!bdiscoe From: bdiscoe@tybalt.caltech.edu (Ben W. Discoe) Newsgroups: comp.sys.amiga.tech Subject: Wait()ing Peacefully Message-ID: <1990Mar16.214401.1738@spectre.ccsf.caltech.edu> Date: 16 Mar 90 21:44:01 GMT Sender: news@spectre.ccsf.caltech.edu Distribution: comp Organization: California Institute of Technology Lines: 9