DescriptionImplement store as an explicit atomic operation.
Using explicit atomic operations permits TSan to understand them and
prevents false positives.
Downgrading the atomic Load to acquire semantics. This reduces the
number of memory barriers inserted from two down to one at most.
Also renaming Load/Store to AcquireLoad/ReleaseStore.
BUG=chromium:512382
R=dvyukov@chromium.org, glider@chromium.org
TBR=tommi@webrtc.org
Committed: https://crrev.com/235c35f292f8e225a155d98a018e257a7db442c4
Cr-Commit-Position: refs/heads/master@{#9613}
Patch Set 1 #Patch Set 2 : add tsan versions #
Total comments: 3
Patch Set 3 : gcc/clang builtin atomics #
Total comments: 2
Patch Set 4 : s/Increment/ReleaseStore #
Messages
Total messages: 29 (6 generated)
|