Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!umich!yale!mintaka!snorkelwacker!bu.edu!dartvax!eleazar.dartmouth.edu!llama From: llama@eleazar.dartmouth.edu (Joe Francis) Newsgroups: comp.sys.mac.programmer Subject: Re: Background MAGIC (and I don't mean multifinder!!) Message-ID: <23598@dartvax.Dartmouth.EDU> Date: 10 Aug 90 16:34:30 GMT References: <8JTNK0C@cs.swarthmore.edu> <82899@tut.cis.ohio-state.edu> Sender: news@dartvax.Dartmouth.EDU Organization: Dartmouth College, Hanover, NH Lines: 22 In article <82899@tut.cis.ohio-state.edu> brian e topping writes: ->Actually, if you have ever looked inside what SuperClock, Pyro, and the like ->are doing, you will have found a safer method. I can never remember where ->I saw this documented, but it is somewhere in the phone book edition ->(the brown pages). The trick is to use the low memory global jGNEFilter, ->defined in the Apple assembler equates as: -> JGNEFilter EQU $29A; GetNextEvent filter proc [pointer] ->This seems preferred over other methods because if the app isn't calling ->WaitNextEvent, it probably is too busy to have cycles eaten up by screen ->savers and the like. If you do this (and I don't recommend it), make sure that you call the previous contents of the global (if they are not null), otherwise other "lurkers" using this method will be high and dry. ---------------------------------------------------------------------------- "...beeeeeeep...This has been a test of the auto reboot system. Had this been a real system crash, the attention tone would be followed by loud shrieks from distressed users..."