Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!mcsun!cernvax!chx400!chx400!bernina!neptune!c!mneerach From: mneerach@iiic.ethz.ch (Matthias Ulrich Neeracher) Newsgroups: comp.sys.mac.programmer Subject: Re: Application defined events in Multifinder Message-ID: <25921@neptune.inf.ethz.ch> Date: 23 Feb 91 16:14:02 GMT References: <1991Feb23.140420.20707@ux1.cso.uiuc.edu> Sender: news@neptune.inf.ethz.ch Reply-To: mneerach@iiic.ethz.ch Organization: Departement Informatik, ETH, Zurich Lines: 21 In article <1991Feb23.140420.20707@ux1.cso.uiuc.edu>, resnick@cogsci.uiuc.edu (Pete Resnick) writes: >I can't seem to find any documentation on this one. It appears that >PostEvent can be called at interrupt, so that I can post app1Evt's >from asynchronous completetion routines in my program to signal that >events have occurred. It is not clear, however, how I am to distinguish >my app1Evt's from those that might be posted by another application >running under Multifinder, or whether I will see these events at all >if I have been suspended. Is this documented somewhere, or does anyone >know what the story is? I don't know, but I believe Apple is discouraging developers from using appXEvt's for the purpose you described, since under extreme circumstances, events may be discarded. Maybe it's better to just set a boolean flag which is checked in the main event loop. Matthias -- Matthias Neeracher mneerach@iiic.ethz.ch "These days, though, you have to be pretty technical before you can even aspire to crudeness." -- William Gibson, _Johnny Mnemonic_