Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uwm.edu!linac!midway!quads.uchicago.edu!jcav From: jcav@quads.uchicago.edu (john cavallino) Newsgroups: comp.sys.mac.programmer Subject: Re: ResEdit 2.1 ZoomRect Speedup patch Keywords: ResEdit patch ZoomRect Message-ID: <1991Jun12.214109.6395@midway.uchicago.edu> Date: 12 Jun 91 21:41:09 GMT References: <1991Jun10.153307.11549@gorm.ruc.dk> <1991Jun10.180210.24253@nntp.hut.fi> Sender: news@midway.uchicago.edu (NewsMistress) Organization: University of Chicago Lines: 16 In article <1991Jun10.180210.24253@nntp.hut.fi> jmunkki@hila.hut.fi (Juri Munkki) writes: >I would have thought that _Delay is mostly obsolete now that MultiFinder >exists. Calling delay is like intentionally making the computer slower. >Instead, you should always try to use _WaitNextEvent. Of course, in some >cases WaitNextEvent might not return quite as soon as you wanted, but at >least some work got done instead of an idle loop. Yes, but once the Mac OS goes preemptive (which it eventually will) _Delay will very likely become the way to sleep your task. Perhaps we shouldn't be too hasty. -- John Cavallino | EMail: jcav@midway.uchicago.edu University of Chicago Hospitals | USMail: 5841 S. Maryland Ave, Box 145 Office of Facilities Management | Chicago, IL 60637 B0 f++ c+ g+ k s+(+) e+ h- pv (qv) | Telephone: 312-702-6900