Document that Ordering::Relaxed is Monotonic
This commit is contained in:
parent
206af38e74
commit
1e68c91666
1 changed files with 2 additions and 1 deletions
|
|
@ -153,7 +153,8 @@ unsafe impl<T> Sync for AtomicPtr<T> {}
|
|||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum Ordering {
|
||||
/// No ordering constraints, only atomic operations.
|
||||
/// No ordering constraints, only atomic operations. Corresponds to LLVM's
|
||||
/// `Monotonic` ordering.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
Relaxed,
|
||||
/// When coupled with a store, all previous writes become visible
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue