4 ms·
Volatile: Almost Useless for Multi-Threaded Programming (2007)
- krylon 12y agoI 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++.)
- rolfeb 12y agoRead the comments on the blog posting :-)