Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mac.programmer Subject: Re: HLock Function List Message-ID: <3955@uakari.primate.wisc.edu> Date: 21 Feb 91 01:17:00 GMT References: <12178@goofy.Apple.COM> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 23 From article <12178@goofy.Apple.COM>, by lsr@Apple.com (Larry Rosenstein): > I think this is being overly cautious. There's no way, for example, that > SetRect, SetPt, HLock, BlockMore (to name a few) will ever move memory. OK. Let Apple release an Official List of routines that Will Never Move Memory. > Someone once mentioned that InitGraf used to be off the list, but now is on > the list. Sure enough, it's not mentioned in volume 1 but is mentioned in > volume 5. But are there other calls that were made unsafe? The existence of a single call is enough to demonstrate the principle that it's reasonable to consider all ToolBox calls unsafe. If it's happened before, what's to prevent it from happening again? Personally, I think that it would be a *mistake* for Apple to guarantee that routine X does not now and never will move memory - that seems to be the kind of thing that would simply help Apple SW to be painted into a corner wrt future development. -- Paul DuBois dubois@primate.wisc.edu