News for hackers. Stuff that matters.
Re:Volatile: Almost Useless for Multi-Threaded Programming (... by krylon on Thursday March 19, 2015 @03:21PM (#9234005)
I am a little surprised that somebody wrote a blog post over this. Shouldn't it be obvious?

(Okay, as far as I remember, the volatile keyword in Java, when applied to primitive types, will cause access to those variables to be atomic. But then again, Java is not C/C++.)

Re:Volatile: Almost Useless for Multi-Threaded Programming (... by rolfeb on Friday March 20, 2015 @03:27AM (#9236549)
Read the comments on the blog posting :-)