From fa1d0477edab6fa800eabd951d88f6bd12fbcfff Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 9 May 2013 17:36:45 -0700 Subject: core: Move locks, atomic rc to unstable::sync --- src/libstd/arc.rs | 6 +++--- src/libstd/sync.rs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libstd') diff --git a/src/libstd/arc.rs b/src/libstd/arc.rs index 7af68f3321d..86a77f36fb6 100644 --- a/src/libstd/arc.rs +++ b/src/libstd/arc.rs @@ -17,9 +17,9 @@ use sync; use sync::{Mutex, mutex_with_condvars, RWlock, rwlock_with_condvars}; use core::cast; -use core::unstable::{SharedMutableState, shared_mutable_state}; -use core::unstable::{clone_shared_mutable_state}; -use core::unstable::{get_shared_mutable_state, get_shared_immutable_state}; +use core::unstable::sync::{SharedMutableState, shared_mutable_state}; +use core::unstable::sync::{clone_shared_mutable_state}; +use core::unstable::sync::{get_shared_mutable_state, get_shared_immutable_state}; use core::ptr; use core::task; diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs index 17d051518a9..108f24d60dc 100644 --- a/src/libstd/sync.rs +++ b/src/libstd/sync.rs @@ -15,7 +15,7 @@ * in std. */ -use core::unstable::{Exclusive, exclusive}; +use core::unstable::sync::{Exclusive, exclusive}; use core::ptr; use core::task; use core::util; -- cgit 1.4.1-3-g733a5