Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!apple!lsr From: lsr@Apple.com (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: HLock Function List Message-ID: <12178@goofy.Apple.COM> Date: 20 Feb 91 19:40:10 GMT References: <1991Feb20.042807.12553@ux1.cso.uiuc.edu> <3947@uakari.primate.wisc.edu> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 15 In article <3947@uakari.primate.wisc.edu>, bin@primate.wisc.edu (Brain in Neutral) writes: > > It's safest to consider the list to be "all ToolBox calls", because > although not every call *today* has the potential to cause memory to > be moved, the list continues to expand over time. A function that's > safe today might not be safe tomorrow. 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. 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? Larry