diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-05-05 10:20:34 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 10:20:34 +0900 |
| commit | b792258b320fa926f31bd7b5367fd151deea25c4 (patch) | |
| tree | 3c4e3807019a01d92a02238183020033ca55e4c1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 8385d1713e2507df36f3c33a1eae5539dd6b0f0a (diff) | |
| parent | 55a7d18189cfa65a35dacf63ee9e70aedd85e3c4 (diff) | |
| download | rust-b792258b320fa926f31bd7b5367fd151deea25c4.tar.gz rust-b792258b320fa926f31bd7b5367fd151deea25c4.zip | |
Rollup merge of #96619 - akiekintveld:same_mutex_check_relaxed_ordering, r=m-ou-se
Relax memory ordering used in SameMutexCheck `SameMutexCheck` only requires atomicity for `self.addr`, but does not need ordering of other memory accesses in either the success or failure case. Using `Relaxed`, the code still correctly handles the case when two threads race to store an address.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
