Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!cs.utexas.edu!usc!apple!tecot From: tecot@Apple.COM (Ed Tecot) Newsgroups: comp.sys.mac.programmer Subject: Re: Notification Manager question Message-ID: <34427@apple.Apple.COM> Date: 30 Aug 89 05:30:50 GMT References: <6293@hubcap.clemson.edu> <879@cbnewsk.ATT.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 13 In article <879@cbnewsk.ATT.COM> ech@cbnewsk.ATT.COM (ned.horvath) writes: >Also, under what circumstances do you enqueue the NM task? Remember >that AppleTalk listeners, completion routines, etc., operate at interrupt >time, with all the restrictions that apply to such routines. Best policy >is to simply "make a note" (you'll need SetUpA5()/RestoreA5() in the >completion routine) that notification is necessary, then queue the NM task >from your main event loop. Actually, there is no need to do this. The Notification Manager routines are not subject to the restrictions imposed upon interrupt routines; feel free to call NMInstall to your heart's content. _emt