Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!husc6!husc4!maymudes From: maymudes@husc4.HARVARD.EDU (David M. Maymudes) Newsgroups: comp.sys.mac.programmer Subject: Executing non-interrupt-level code after an interrupt Message-ID: <1631@husc6.harvard.edu> Date: 14 Apr 89 20:55:35 GMT Sender: news@husc6.harvard.edu Reply-To: maymudes@husc4.UUCP (David M. Maymudes) Organization: Harvard University Science Center, Cambridge MA Lines: 18 I know that this is a "standard question", but: If a routine is called at interrupt time, what is the best way for it to get control back _not_ at interrupt time. The only methods I recall hearing about are patching _GetNextEvent (and possibly _WaitNextEvent, but probably there is one patch which will cover all cases) and using jGNEfilter, which is a low-memory global, and thus bad. (Also, I don't know where it is documented.) So is there a better way to do this? Failing that, what is the "accepted" method? Thanks in advance for any information. --David Maymudes maymudes%husc4@harvard.ARPA maymudes@husc4.harvard.edu maymudes@husc4.UUCP maymudes@HARVUNXU.BITNET ..{seismo, harpo, ihnp4, linus, allegra, ut-sally}!harvard!husc4!maymudes davidm@harvarda.BITNET