Path: utzoo!utgpu!watserv1!watmath!att!att!emory!swrinde!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!decwrl!claris!outpost.UUCP!peirce From: peirce@outpost.UUCP (Michael Peirce) Newsgroups: comp.sys.mac.programmer Subject: Re: doing real work at interrupt // Notification Manager Message-ID: Date: 3 Nov 90 02:54:41 GMT Reply-To: kurash@quimby (Mark Valence) Organization: Peirce Software Lines: 31 X-Mailer: uMail - Mac Release: 0.1.4 In article <25483@dartvax.Dartmouth.EDU>, kurash@quimby.dartmouth.edu (Mark Valence) writes: > > I think what you are looking for is the Notification > Manager. The routines _NMInstall and _NMRemove are > both accessible during interrupt time, This is how it's _suppose_ to work. Unfortunately, NMInstall calls at interrupt level can cause some nice bombs with the current system software. I was asking DTS another question about the Notification Manager and in the reply they said something like: "and by the way, don't call NMInstall from interrupt level - it causes crashes sometimes. Sorry." That's it, no idea when it might be fixed or that it really seems to make the NM a lot less useful! I HAD been getting some random crashes when I used NMInstall at interrupt time, but I thought it was just some lurking bug. I guess it was a lurking bug, but not mine... So what is a well meaning programmer to do without NMINstall at interrupt time. The only thing I can think off it to patch System Task and have my interrupt code set flags to tell the patch to do a NMInstall... {This reminds me of the first couple of revs for the Time Manager that really didn't work either...) sigh :-( -- michael peirce -- Michael Peirce -- {apple,decwrl}!claris!outpost!peirce -- Peirce Software -- Suite 301, 719 Hibiscus Place -- Macintosh Programming -- San Jose, California 95117 -- and Consulting -- (408) 244-6554