Subj : Re: full-blown experiential smr-based reference counted pointer impl... To : comp.programming.threads From : Joe Seigh Date : Mon Apr 04 2005 03:07 pm On Fri, 01 Apr 2005 12:16:04 +0200, Alexander Terekhov wrote: > > Chris Thomasson wrote: >> >> // inside gc region wrt target >> >> // Release Hazard >> ( load/store + store/store ) >> store null into hazard >> >> Is that about it? > > You also need "acquire" on cleanup/object destruction. > If your hardware has dependent load, that may take care of it. You need to load the address of object being deleted from memory before calling delete. If the parameter list is stored on the stack, that would take care of it but not all platorms pass all their parameters on the stack. -- Joe Seigh .