Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!voder!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac Subject: Re: Shy pre-emption++ Message-ID: <7723@apple.Apple.Com> Date: 17 Mar 88 18:37:01 GMT References: <7670@apple.Apple.Com> <6970@drutx.ATT.COM> <2154@polya.STANFORD.EDU> Reply-To: lsr@apple.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 17 In article <2154@polya.STANFORD.EDU> ali@polya.UUCP (Ali Ozer) writes: > >Note that I'm not saying MultiFinder can't do these; with enough work >anything is possible. You can kludge up you ray tracer and stick in >calls to check the event queue. You'd need to put these in a lot >places, though, as ray tracers tend to do off and run in floating >point intensive loops for long periods of time. As soon as some event Not true. I ported DBW Render from the Amiga, and used the MPW performance measurement tools to find out where the CPU time was being spent. I only need to add 2 calls to GetNextEvent to yield the CPU and get it to run in the background. -- Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 32E Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr