Subj : Re: full-blown experiential smr-based reference counted pointer impl... To : comp.programming.threads From : Alexander Terekhov Date : Mon Apr 04 2005 09:37 pm Joe Seigh wrote: [... acquire ...] > You need to load the address of object being deleted from memory > before calling delete. Sure. That's msync::ddacq. Works just fine as long as all dtor's accesses are data-dependent (with respect to object address) or when all it's "(*this)-independent" accesses are reads of immutable data. If not, then msync::ccacq with control dependency is the best match. Otherwise (when msync::ddacq is insufficient and you have no control dependency for msync::ccacq), straight msync::acq is mandatory. regards, alexander. .