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
eddyb committed May 13, 2016
2 parents e141d95 + 66404f3 commit dbf812f
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 dbf812f

Please sign in to comment.