Skip to content
Commit 10362c46 authored by Dmitry Vyukov's avatar Dmitry Vyukov
Browse files

tsan: refactor atomic operations implementation

do the atomic operation under the sync object mutex
make acquire/release sync atomic with the operation itself
combine acquire and release into a single acq_rel operation

llvm-svn: 168682
parent 7c0f9a64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment