CompuServe Messages

#Multiple WaitPort()s

    12-Apr-88 21:30:11
Sb: #Multiple WaitPort()s
Fm: Art Steinmetz 76044,3204
To: all
My translation of Steve's Serial module to BM works and I am talking to my modem (yay!). But I am stymied on how to avoid a BusyWait. Normally you do a WaitPort() to sleep until you see an Intuition event and process it. Now I also want to do a WaitPort() on my serial read port. If I sleep waiting for Intuition the serial buffer can blow out. If I sleep waiting for the serial port how can I react to Intuition events? A BusyWait kind of loop with a couple GetMsg()s solves the problem but… Any ideas? I've got a feeling this is pretty simple. — Art