Path: utzoo!utgpu!watserv1!watdragon!rose!sjorr From: sjorr@rose.waterloo.edu (Stephen Orr) Newsgroups: comp.sys.amiga.tech Subject: Re: Wait()ing Peacefully Message-ID: <22144@watdragon.waterloo.edu> Date: 18 Mar 90 15:18:22 GMT References: <1322@mindlink.UUCP> Sender: daemon@watdragon.waterloo.edu Reply-To: sjorr@rose.waterloo.edu (Stephen Orr) Organization: U. of Waterloo, Ontario Lines: 32 >You almost had it. Instead of trying to or the bits into one flag >to wait for, set up two flags and then or in the call to wait(), like this. >wait1flag = ; >wait2flag = ; >wait(wait1flag | wait2flag); This is functionally the same as what he was doing, please note however that the initialization of wait1flag and wait2flag should be wait1flag = 1<