Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!nstn.ns.ca!news.cs.indiana.edu!att!pacbell.com!decwrl!ads.com!potomac.ads.com!jtn From: jtn@potomac.ads.com (John T. Nelson) Newsgroups: comp.sys.mac.programmer Subject: Re: Questions about multitasking on the mac Message-ID: <1991May12.150246.6287@potomac.ads.com> Date: 12 May 91 15:02:46 GMT References: <1991May11.191114.27564@potomac.ads.com> Organization: Advanced Decision Systems, Arlington, VA Lines: 10 Calling WaitNeXTEvent and the DoEvent stuff fromwithin your program code "often" seems to be the way that multitasking is done on the Mac. Is this the way that ZTerm manages to do it's thing and yet be backgroundable? I notice that Compactor Pro also is "backgroundable" in the sense that you can compact files and throw the thing into the background by bringing a new application up front and still have compactor do its thing. Is this the way Compactor implements this behavior? Just call WaitNeXTEvent and the DoEvent servicing stuff inside a convenient loop in the compaction algorithm?