[jmm-dev] bitwise RMW operators, specifically testAndSetBit/BTS
Andrew Haley
aph at redhat.com
Thu Jul 21 05:45:40 UTC 2016
On 20/07/16 01:25, Martin Buchholz wrote:
> We should probably clarify whether we really mean that even word-tearing on
> longs/doubles is allowed.
I surely hope that the answer to that is "no"!
> C++ relaxed atomics are (perhaps!) stronger than "plain" in two senses:
> truly atomic (!) and single-memory-location-sequentially-consistent.
Earlier in the development of this respin of the JMM, I remember
someone (Doug?) saying that compatibility with C++ was an important
consideration, We seem to be drifting away from that, for no good
reason that I understand.
Andrew.
More information about the jmm-dev
mailing list