about summary refs log tree commit diff
path: root/src/libextra/sync.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2013-07-28 16:18:12 -0700
committerBrian Anderson <banderson@mozilla.com>2013-07-30 14:23:45 -0700
commitcb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7 (patch)
treeb7797ab53dc525897a22b452c394b302b1d32a51 /src/libextra/sync.rs
parent0144c83213cb5ce43df61f149274379f49b6d7cb (diff)
downloadrust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.tar.gz
rust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.zip
std: Remove ManualThreads spawn mode
Diffstat (limited to 'src/libextra/sync.rs')
-rw-r--r--src/libextra/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libextra/sync.rs b/src/libextra/sync.rs
index 743c4347a4b..9dde95d0ac4 100644
--- a/src/libextra/sync.rs
+++ b/src/libextra/sync.rs
@@ -890,7 +890,7 @@ mod tests {
     fn test_sem_runtime_friendly_blocking() {
         // Force the runtime to schedule two threads on the same sched_loop.
         // When one blocks, it should schedule the other one.
-        do task::spawn_sched(task::ManualThreads(1)) {
+        do task::spawn_sched(task::SingleThreaded) {
             let s = ~Semaphore::new(1);
             let s2 = ~s.clone();
             let (p,c) = comm::stream();