CompuServe Messages

Multiple WaitPort()s

    12-Apr-88 22:39:45
Fm: Steve Faiwiszewski 74106,425
To: Art Steinmetz 76044,3204
It's quite simple! Instead of using WaitPort, use Wait. Wait accepts a mask of signals to wait upon. You gotta set up a signal mask comprised of the Intuition port's signal and your Serial port signal (that's what WaitPort does, really). For an example of how to do that, look at my EtchAsketch program. Look for calls to procedures beginning with "ListenTo". In that program I wait on Intuition and the Joyport at the same time. – Steve –