summary refs log tree commit diff
path: root/src/libstd/rt/uv
diff options
context:
space:
mode:
authorSteven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>2013-07-22 13:57:40 -0700
committerSteven Stewart-Gallus <sstewartgallus00@mylangara.bc.ca>2013-07-27 22:06:29 -0700
commitd0b7515aedcaa161bb206e651a374d7ff27e52a7 (patch)
tree9497eea70b9db687a4d6bd4f84bcefa836451b1d /src/libstd/rt/uv
parent3078e83c3f1a643ddbdefa78095e4fbda3cecc02 (diff)
downloadrust-d0b7515aedcaa161bb206e651a374d7ff27e52a7.tar.gz
rust-d0b7515aedcaa161bb206e651a374d7ff27e52a7.zip
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()`
Diffstat (limited to 'src/libstd/rt/uv')
-rw-r--r--src/libstd/rt/uv/uvio.rs4
1 files changed, 2 insertions, 2 deletions
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());