From cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 28 Jul 2013 16:18:12 -0700 Subject: std: Remove ManualThreads spawn mode --- src/libextra/sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libextra') 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(); -- cgit 1.4.1-3-g733a5