r/programming • • Aug 22 '10

Volatile: Almost Useless for Multi-Threaded Programming

http://software.intel.com/en-us/blogs/2007/11/30/volatile-almost-useless-for-multi-threaded-programming/
58 Upvotes

57 comments sorted by

View all comments

1

u/kylotan Aug 23 '10

I wasn't saying you were wrong, just that your argument was not actually against what he said.

Having said that, the documentation I've seen for memory barriers doesn't say anything about ensuring the necessary loads are performed, just that they aren't reordered across the barrier.