Java Atomic Access


http://docs.oracle.com/javase/tutorial/essential/concurrency/atomic.html

 

  • Reads and writes are atomic for reference variables and for most primitive variables (all types except long and double).

  • Reads and writes are atomic for all variables declared volatile (including long and double variables).









本站声明
本文转载自:http://simplehappy.iteye.com/blog/2260581     作者:simplehappy     发布日期:2015-11-30     本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系我们删除。


 
© 2014-2016 ITdaan.com 粤ICP备14056181号