File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,13 @@ C++11). This is not a formal model.
71
71
Key properties are:
72
72
73
73
- ** volatility (V)** - Any written value is immediately visible to any
74
- subsequent volatile reads including all writes leading to this value. (Same
75
- meaning as in Java.)
74
+ subsequent volatile read of the same variable. Any write executed before
75
+ volatile write based on program-order is visible to the read as well, which
76
+ allows
77
+ [ piggybacking] ( http://stackoverflow.com/questions/8769570/volatile-piggyback-is-this-enough-for-visiblity ) .
78
+ (Same meaning as in Java, it creates synchronizes-with (JMM term) order
79
+ between write and read, which participates in creating happens-before
80
+ order.)
76
81
- ** atomicity (A)** - Operation is either done or not as a whole.
77
82
- ** serialized (S)** - Operations are serialized in some order (they
78
83
cannot disappear). This is a new property not mentioned in other memory
You can’t perform that action at this time.
0 commit comments