diff options
| author | Austin Kiekintveld <akiekintveld@icloud.com> | 2022-05-01 16:46:19 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-01 16:46:19 -0700 |
| commit | df4457e20bb6017de97ff69af58a0a92a3a5b423 (patch) | |
| tree | c96ea5bfa0ef09169cf9ebd46ccb7d6059dca267 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 4dd8b420c027001e47b0d811a7e55e2fe1de1395 (diff) | |
| download | rust-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
