diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-07-28 16:18:12 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-07-30 14:23:45 -0700 |
| commit | cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7 (patch) | |
| tree | b7797ab53dc525897a22b452c394b302b1d32a51 /src/libextra/sync.rs | |
| parent | 0144c83213cb5ce43df61f149274379f49b6d7cb (diff) | |
| download | rust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.tar.gz rust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.zip | |
std: Remove ManualThreads spawn mode
Diffstat (limited to 'src/libextra/sync.rs')
| -rw-r--r-- | src/libextra/sync.rs | 2 |
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(); |
