Subj : Re: Hazard Pointers w/o memory barrier. To : comp.programming.threads From : Joe Seigh Date : Thu Apr 21 2005 09:01 pm On Tue, 19 Apr 2005 08:32:13 -0400, Joe Seigh wrote: > On Z architecture you could use a MVC instruction to store the global > pointer into the hazard pointer and then load from the hazard pointer > rather than the usual hazard pointer logic, since the MVC instruction > isn't interruptable. I don't know if it's any faster but you could do it. Actually it's not faster if Z arch has the same memory model as 390 arch with respect to a store followed by a load from the same location. It acts as a memory barrier as loads had to return values from memory. -- Joe Seigh When you get lemons, you make lemonade. When you get hardware, you make software. .