Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: DA loses resource file on accRun Keywords: MultiFinder DAs context switches Message-ID: <33398@apple.Apple.COM> Date: 23 Jul 89 05:09:05 GMT References: <1989Jul17.045641.20314@lth.se> <2932@internal.Apple.COM> <14573@dartvax.Dartmouth.EDU> <33359@apple.Apple.COM> <14600@dartvax.Dartmouth.EDU> Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <14600@dartvax.Dartmouth.EDU> matthews@eleazar.dartmouth.edu (Jim Matthews) writes: > >I suppose what I'd like most is to have these decisions documented. The >programming model for DAs under MultiFinder may be well thought out, but it >isn't very clear. For example: if a DA under MultiFinder calls ModalDialog, >background apps will continue to get time (since ModalDialog calls either >GetNextEvent or WaitNextEvent). But DAs and drivers with dNeedTime lit will >not get their periodic time. We have network protocol drivers that time out >when a DA calls Std File, but *not* when an app does the same thing. There >may be a reason for this (avoiding re-entrancy is a likely candidate) >but I've never seen it documented, much less justified. Jim, you're just a little ahead of us. In the next batch of technotes that we are preparing are some that address these very issues. They're already written, and are being reviewed right now. ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions