Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!fuug!funic!santra!hila.hut.fi!jmunkki From: jmunkki@hila.hut.fi (Juri Munkki) Newsgroups: comp.sys.mac.programmer Subject: Re: VBL tasks Message-ID: <1991May13.141018.16539@santra.uucp> Date: 13 May 91 14:10:18 GMT References: <1991May13.014725.5238@neon.Stanford.EDU> Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: jmunkki@hila.hut.fi (Juri Munkki) Organization: Helsinki University of Technology, FINLAND Lines: 17 In article <1991May13.014725.5238@neon.Stanford.EDU> cheshire@neon.Stanford.EDU (Stuart David Cheshire) writes: >Does anybody know how to stop Multifinder turning off my VBL task when my >application is switched to the background? > >I tried doing as they say and installing the vbl task in the system heap >which is supposed to stop this, but it doesn't seem to work: You got it almost right. The task procedure has to be in the system heap, the queue entry can be anywhere. I use a resource with the system heap bit set and a single JMP instruction that I patch to point to my code in the application. ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / STORM / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~