about summary refs log tree commit diff
path: root/src/libcore/atomic.rs
AgeCommit message (Collapse)AuthorLines
2014-10-04Make examples for AtomicInt refer to AtomicIntPeter Minten-6/+6
The examples for fetch_or, fetch_and and fetch_xor for std::sync::atomic::AtomicInt used AtomicUint instead of AtomicInt.
2014-08-04stabilize atomics (now atomic)Aaron Turon-0/+743
This commit stabilizes the `std::sync::atomics` module, renaming it to `std::sync::atomic` to match library precedent elsewhere, and tightening up behavior around incorrect memory ordering annotations. The vast majority of the module is now `stable`. However, the `AtomicOption` type has been deprecated, since it is essentially unused and is not truly a primitive atomic type. It will eventually be replaced by a higher-level abstraction like MVars. Due to deprecations, this is a: [breaking-change]