mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Revert previous commit
This commit is contained in:
parent
dfa9736e9f
commit
c0a5b99f01
@ -140,10 +140,6 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
|
||||
/// to be moved either before or after the atomic operation; on the other end
|
||||
/// "relaxed" atomics allow all reorderings.
|
||||
///
|
||||
/// If you are confused or don't have enough time to research which ordering to use, use `SeqCst`.
|
||||
/// Of all the options it has the most unsurpising effect (see the nomicon for details. [1])
|
||||
/// The downside is you miss out on several optimizations the other orderings offer.
|
||||
///
|
||||
/// Rust's memory orderings are [the same as
|
||||
/// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations).
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user