about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAustin Kiekintveld <akiekintveld@icloud.com>2022-05-01 16:46:19 -0700
committerGitHub <noreply@github.com>2022-05-01 16:46:19 -0700
commitdf4457e20bb6017de97ff69af58a0a92a3a5b423 (patch)
treec96ea5bfa0ef09169cf9ebd46ccb7d6059dca267 /library/std/src/sys/unix/stack_overflow.rs
parent4dd8b420c027001e47b0d811a7e55e2fe1de1395 (diff)
downloadrust-df4457e20bb6017de97ff69af58a0a92a3a5b423.tar.gz
rust-df4457e20bb6017de97ff69af58a0a92a3a5b423.zip
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