From d8e4780b0b59636cd979a60434a407142e407ac9 Mon Sep 17 00:00:00 2001 From: Aaron Turon Date: Mon, 1 Dec 2014 08:49:32 -0800 Subject: Remove rt::{mutex, exclusive} --- src/libstd/sys/common/thread_local.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/libstd/sys/common') diff --git a/src/libstd/sys/common/thread_local.rs b/src/libstd/sys/common/thread_local.rs index a8bc6bf9d0d..c3bf5cfc301 100644 --- a/src/libstd/sys/common/thread_local.rs +++ b/src/libstd/sys/common/thread_local.rs @@ -58,10 +58,9 @@ use prelude::*; -use rt::exclusive::Exclusive; use rt; use sync::atomic::{mod, AtomicUint}; -use sync::{Once, ONCE_INIT}; +use sync::{Mutex, Once, ONCE_INIT}; use sys::thread_local as imp; @@ -143,7 +142,7 @@ pub const INIT_INNER: StaticKeyInner = StaticKeyInner { }; static INIT_KEYS: Once = ONCE_INIT; -static mut KEYS: *mut Exclusive> = 0 as *mut _; +static mut KEYS: *mut Mutex> = 0 as *mut _; impl StaticKey { /// Gets the value associated with this TLS key -- cgit 1.4.1-3-g733a5