Optimization of conditional access to globals: thread-unsafe?
Bart Van Assche
bart.vanassche@gmail.com
Sat Oct 27 13:16:00 GMT 2007
On 10/27/07, Florian Weimer <fw@deneb.enyo.de> wrote:
> And this isn't really specific to threads.
Hello Florian,
What I was trying to explain is that it is not necessary to declare
shared variables volatile, not for any C/C++ compiler that is
compliant with the language standard. Your reply did not acknowledge
nor deny this.
Bart Van Assche.
More information about the Gcc
mailing list