> From: "Kevin P. Fleming" > Newsgroups: gmane.comp.gcc.help > Subject: Re: how to cast away 'volatile'? > Date: Tue, 13 Mar 2007 11:25:07 -0500 > > Ian Lance Taylor wrote: >> The mutex code itself, assuming it is written correctly, provides the >> required memory barriers. > > OK, that's what I hoped you would say :-) Thanks for the clarification. > Maybe articles by Paul McKenney will be helpful on this topic, but they mainly a hardware/kernel thing: "Memory Ordering in Modern Microprocessors" <http://www.linuxjournal.com/user/801277/track> ____