From 114301f4f2e8ca069fd50c238a92ba8e31b5c272 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Fri, 13 Feb 2015 09:39:36 -0500 Subject: [PATCH] Refer to LLVM rather than GCC wiki for atomic orderings Fixes #22064. --- src/libcore/atomic.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/atomic.rs b/src/libcore/atomic.rs index 0f3823eb7a5..32e8cffcae4 100644 --- a/src/libcore/atomic.rs +++ b/src/libcore/atomic.rs @@ -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