Skip to content

Commit

Permalink
Rollup merge of rust-lang#33534 - dns2utf8:atomic_docs, r=GuillaumeGomez
Browse files Browse the repository at this point in the history
Simplify text

This way it should be clear: Any number of other threads have this guaranty not just one other thread.
  • Loading branch information
sanxiyn committed May 14, 2016
2 parents 7de362a + 66404f3 commit a4a7462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcore/sync/atomic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ pub enum Ordering {
#[stable(feature = "rust1", since = "1.0.0")]
Relaxed,
/// When coupled with a store, all previous writes become visible
/// to another thread that performs a load with `Acquire` ordering
/// to the other threads that perform a load with `Acquire` ordering
/// on the same value.
#[stable(feature = "rust1", since = "1.0.0")]
Release,
/// When coupled with a load, all subsequent loads will see data
/// written before a store with `Release` ordering on the same value
/// in another thread.
/// in other threads.
#[stable(feature = "rust1", since = "1.0.0")]
Acquire,
/// When coupled with a load, uses `Acquire` ordering, and with a store
Expand Down

0 comments on commit a4a7462

Please sign in to comment.