mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
4efd65571e
Weaken needlessly restrictive orderings on Arc::*_count Follow up to https://github.com/rust-lang/rust/pull/95183 from this zulip: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Why.20does.20Arc.3A.3Astrong_count.20use.20Acquire.20instead.20of.20Relaxed.3F/near/386213850 I'd like to use the strong_count for a lockless algorithm I'm writing, but I don't need acquire semantics so that's pointlessly restrictive on arm/risc-v. |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |