Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!emory!ox.com!heifetz!tbomb!time From: time@ice.com (Tim Endres) Newsgroups: comp.sys.mac.programmer Subject: Re: Questions about multitasking on the mac Message-ID: <1CE00001.fiq1tb@tbomb.ice.com> Date: 13 May 91 18:21:55 GMT Reply-To: time@ice.com Organization: ICE Engineering, Inc. Lines: 15 X-Mailer: uAccess - Mac Release: 1.1.b5 In article <1991May12.150246.6287@potomac.ads.com>, jtn@potomac.ads.com (John T. Nelson) writes: > behavior? Just call WaitNeXTEvent and the DoEvent servicing stuff > inside a convenient loop in the compaction algorithm? The alternative (which seems cleaner) is to drive a state machine within the event loop. This is how uAccess works for all of its communications, background or foreground. There are, however, still a few spots where inner loops call WaitNextEvent(). ------------------------------------------------------------- Tim Endres | time@ice.com ICE Engineering | uupsi!ice.com!time 8840 Main Street | Voice FAX Whitmore Lake MI. 48189 | (313) 449 8288 (313) 449 9208