Refer to LLVM rather than GCC wiki for atomic orderings

Fixes #22064.
This commit is contained in:
Steve Klabnik 2015-02-13 09:39:36 -05:00
parent cf636c233d
commit 114301f4f2

View File

@ -21,9 +21,9 @@
//!
//! Each method takes an `Ordering` which represents the strength of
//! the memory barrier for that operation. These orderings are the
//! same as [C++11 atomic orderings][1].
//! same as [LLVM atomic orderings][1].
//!
//! [1]: http://gcc.gnu.org/wiki/Atomic/GCCMM/AtomicSync
//! [1]: http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations
//!
//! Atomic variables are safe to share between threads (they implement `Sync`)
//! but they do not themselves provide the mechanism for sharing. The most