diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2018-06-22 08:27:52 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-22 08:27:52 +0000 |
commit | ac5fa6605c8ee539bf61075b5851d87bca413c4c (patch) | |
tree | 7b887f9e20133c80dd0295683fcf967208e167e6 /lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py | |
parent | 032db94ac9eac2d18d1889672853e7e69b639c4d (diff) | |
download | bcm5719-llvm-ac5fa6605c8ee539bf61075b5851d87bca413c4c.tar.gz bcm5719-llvm-ac5fa6605c8ee539bf61075b5851d87bca413c4c.zip |
tsan: fix deficiency in MutexReadOrWriteUnlock
MutexUnlock uses ReleaseStore on s->clock, which is the right thing to do.
However MutexReadOrWriteUnlock for writers uses Release on s->clock.
Make MutexReadOrWriteUnlock also use ReleaseStore for consistency and performance.
Unfortunately, I don't think any test can detect this as this only potentially
affects performance.
llvm-svn: 335322
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/TestValueAPI.py')
0 files changed, 0 insertions, 0 deletions