about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2022-05-05 10:20:34 +0900
committerGitHub <noreply@github.com>2022-05-05 10:20:34 +0900
commitb792258b320fa926f31bd7b5367fd151deea25c4 (patch)
tree3c4e3807019a01d92a02238183020033ca55e4c1 /library/std/src/sys/unix/stack_overflow.rs
parent8385d1713e2507df36f3c33a1eae5539dd6b0f0a (diff)
parent55a7d18189cfa65a35dacf63ee9e70aedd85e3c4 (diff)
downloadrust-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 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions