From d0b7515aedcaa161bb206e651a374d7ff27e52a7 Mon Sep 17 00:00:00 2001 From: Steven Stewart-Gallus Date: Mon, 22 Jul 2013 13:57:40 -0700 Subject: Change concurrency primitives to standard naming conventions To be more specific: `UPPERCASETYPE` was changed to `UppercaseType` `type_new` was changed to `Type::new` `type_function(value)` was changed to `value.method()` --- src/libstd/rt/uv/uvio.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libstd/rt/uv') diff --git a/src/libstd/rt/uv/uvio.rs b/src/libstd/rt/uv/uvio.rs index fc4a668bdf6..5397b5f2c5c 100644 --- a/src/libstd/rt/uv/uvio.rs +++ b/src/libstd/rt/uv/uvio.rs @@ -28,7 +28,7 @@ use rt::io::{standard_error, OtherIoError}; use rt::tube::Tube; use rt::local::Local; use str::StrSlice; -use unstable::sync::{Exclusive, exclusive}; +use unstable::sync::Exclusive; #[cfg(test)] use container::Container; #[cfg(test)] use uint; @@ -158,7 +158,7 @@ pub struct UvRemoteCallback { impl UvRemoteCallback { pub fn new(loop_: &mut Loop, f: ~fn()) -> UvRemoteCallback { - let exit_flag = exclusive(false); + let exit_flag = Exclusive::new(false); let exit_flag_clone = exit_flag.clone(); let async = do AsyncWatcher::new(loop_) |watcher, status| { assert!(status.is_none()); -- cgit 1.4.1-3-g733a5