Subj : Re: full-blown experiential smr-based reference counted pointer impl... To : comp.programming.threads From : Chris Thomasson Date : Fri Apr 01 2005 02:19 am > You also need a release ( load/store, store/store) barrier before dropping > the hazard pointer reference (setting it to zero). Humm... If you wanted to implement this on sparc I guess you would need to do something like this: // Acquire Hazard load target loop: store target into hazard ( store/load ) load target ( store/load + store/store ) compare target with hazard, goto loop if non-equal // inside gc region wrt target // Release Hazard ( load/store + store/store ) store null into hazard Is that about it? > > Yes, you wouldn't use SMR for everything but there are definitely niche > uses for it so it doesn't hurt to have it around. True... .