mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-29 16:13:40 +00:00
parent
cf636c233d
commit
114301f4f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user