how to cast away 'volatile'?

Oleg Verych olecom@flower.upol.cz
Wed Mar 14 10:07:00 GMT 2007


> 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>
____



More information about the Gcc-help mailing list