Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!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: <3947@uakari.primate.wisc.edu> Date: 20 Feb 91 05:50:35 GMT References: <1991Feb20.042807.12553@ux1.cso.uiuc.edu> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 17 From article <1991Feb20.042807.12553@ux1.cso.uiuc.edu>, by dmmg1176@uxa.cso.uiuc.edu (David M Marcovitz): > > I vaguely remember seeing a reference to a list of functions that > cause blocks of memory to be relocated. That is, I will need to call > HLock before (and HUnlock) after these functions to keep certain > blocks from being relocated. Can someone please tell me where I can > find this list. Thanks. 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. Sad but true. -- Paul DuBois dubois@primate.wisc.edu