由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - 跟着问个java volatile的问题
相关主题
新手问个multi-threading关于synchronized和volatile的问题关于char和int的问题
刚刚提交了一个bug Re: 笨问题续:TOMCATEffective Java第二版
问个进度条的问题thinking in java怎么样
The best HashMap Cache solutionread from multiple inputstreams at the same time?
AtomicInteger和volatile int有啥区别how to read from a non-return socket stream?
关于singleton请推荐网站
java的volatile求推荐Java学习材料 (转载)
Volatile variables do not provide any atomicity诡异问题求助
相关话题的讨论汇总
话题: volatile话题: change话题: also话题: effects话题: java
进入Java版参与讨论
1 (共1页)
j*****8
发帖数: 3635
1
下面这段话是java doc里的
What's more, it also means that when a thread reads a volatile variable, it
sees not just the latest change to the volatile, but also the side effects
of the code that led up the change
最后那半句怎么理解? but also the side effects of the code that led up the
change
多谢
w**z
发帖数: 8232
2
http://stackoverflow.com/questions/9169232/java-volatile-and-si

it

【在 j*****8 的大作中提到】
: 下面这段话是java doc里的
: What's more, it also means that when a thread reads a volatile variable, it
: sees not just the latest change to the volatile, but also the side effects
: of the code that led up the change
: 最后那半句怎么理解? but also the side effects of the code that led up the
: change
: 多谢

1 (共1页)
进入Java版参与讨论
相关主题
诡异问题求助AtomicInteger和volatile int有啥区别
新手开始读effective java关于singleton
想转Java开发,学什么framework最好找工作?java的volatile
问个傻问题Volatile variables do not provide any atomicity
新手问个multi-threading关于synchronized和volatile的问题关于char和int的问题
刚刚提交了一个bug Re: 笨问题续:TOMCATEffective Java第二版
问个进度条的问题thinking in java怎么样
The best HashMap Cache solutionread from multiple inputstreams at the same time?
相关话题的讨论汇总
话题: volatile话题: change话题: also话题: effects话题: java