about summary refs log tree commit diff
path: root/src/libstd/sync.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-08-13 16:20:27 -0700
committerBrian Anderson <banderson@mozilla.com>2012-08-13 18:59:48 -0700
commit5394e34aa43687e36fb94656faf075b125c43bb5 (patch)
tree2553a2abb61083a94278e956259a194cfecc470f /src/libstd/sync.rs
parent6b43c0c1add8d2caaa3c391d8d8daca2c609047e (diff)
core: Camel case some lesser-used modules
Diffstat (limited to 'src/libstd/sync.rs')
-rw-r--r--src/libstd/sync.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstd/sync.rs b/src/libstd/sync.rs
index 5f08cf9128c..20aa6846bcb 100644
--- a/src/libstd/sync.rs
+++ b/src/libstd/sync.rs
@@ -8,7 +8,7 @@
 export condvar, semaphore, mutex, rwlock;
 
 // FIXME (#3119) This shouldn't be a thing exported from core.
-import unsafe::exclusive;
+import unsafe::{Exclusive, exclusive};
 
 /****************************************************************************
  * Internals
@@ -55,7 +55,7 @@ struct sem_inner<Q> {
     // a condition variable attached, others should.
     blocked:   Q;
 }
-enum sem<Q: send> = exclusive<sem_inner<Q>>;
+enum sem<Q: send> = Exclusive<sem_inner<Q>>;
 
 fn new_sem<Q: send>(count: int, +q: Q) -> sem<Q> {
     let (wait_tail, wait_head)  = pipes::stream();
@@ -293,7 +293,7 @@ struct rwlock_inner {
 struct rwlock {
     /* priv */ order_lock:  semaphore;
     /* priv */ access_lock: sem<waitqueue>;
-    /* priv */ state:       exclusive<rwlock_inner>;
+    /* priv */ state:       Exclusive<rwlock_inner>;
 }
 
 /// Create a new rwlock.