From 68bde0a07396efb415d61047c6b2a8183f47ef30 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Mon, 4 Aug 2014 15:42:36 -0700 Subject: stabilize atomics (now atomic) 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] --- src/libstd/io/test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/io/test.rs') diff --git a/src/libstd/io/test.rs b/src/libstd/io/test.rs index 26e854d9d99..331cfa1a59e 100644 --- a/src/libstd/io/test.rs +++ b/src/libstd/io/test.rs @@ -16,7 +16,7 @@ use libc; use os; use prelude::*; use std::io::net::ip::*; -use sync::atomics::{AtomicUint, INIT_ATOMIC_UINT, Relaxed}; +use sync::atomic::{AtomicUint, INIT_ATOMIC_UINT, Relaxed}; macro_rules! iotest ( { fn $name:ident() $b:block $(#[$a:meta])* } => ( -- cgit 1.4.1-3-g733a5