File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 2121//! 
2222//! Each method takes an `Ordering` which represents the strength of 
2323//! the memory barrier for that operation. These orderings are the 
24- //! same as [LLVM atomic orderings][1]. 
24+ //! same as [LLVM atomic orderings][1]. For more information see the [nomicon][2].  
2525//! 
2626//! [1]: http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations 
27+ //! [2]: https://doc.rust-lang.org/nomicon/atomics.html 
2728//! 
2829//! Atomic variables are safe to share between threads (they implement `Sync`) 
2930//! but they do not themselves provide the mechanism for sharing and follow the 
@@ -141,6 +142,9 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
141142/// 
142143/// Rust's memory orderings are [the same as 
143144/// LLVM's](http://llvm.org/docs/LangRef.html#memory-model-for-concurrent-operations). 
145+ /// 
146+ /// For more information see the [nomicon][1]. 
147+ /// [1]: https://doc.rust-lang.org/nomicon/atomics.html 
144148#[ stable( feature = "rust1" ,  since = "1.0.0" ) ]  
145149#[ derive( Copy ,  Clone ,  Debug ) ]  
146150pub  enum  Ordering  { 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments