about summary refs log tree commit diff
path: root/src/rt
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/rt
parent0144c83213cb5ce43df61f149274379f49b6d7cb (diff)
downloadrust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.tar.gz
rust-cb9ee7f5be0de2bb93688f8e2ef2934eb3bd7df7.zip
std: Remove ManualThreads spawn mode
Diffstat (limited to 'src/rt')
-rw-r--r--src/rt/rust_builtin.cpp12
-rw-r--r--src/rt/rustrt.def.in2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index bcf5575cede..3c9bff000ea 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -549,18 +549,6 @@ start_task(rust_task *target, fn_env_pair *f) {
     target->start(f->f, f->env, NULL);
 }
 
-extern "C" CDECL size_t
-rust_sched_current_nonlazy_threads() {
-    rust_task *task = rust_get_current_task();
-    return task->sched->number_of_threads();
-}
-
-extern "C" CDECL size_t
-rust_sched_threads() {
-    rust_task *task = rust_get_current_task();
-    return task->sched->max_number_of_threads();
-}
-
 // This is called by an intrinsic on the Rust stack and must run
 // entirely in the red zone. Do not call on the C stack.
 extern "C" CDECL MUST_CHECK bool
diff --git a/src/rt/rustrt.def.in b/src/rt/rustrt.def.in
index d6692d378ba..ccbff776dcf 100644
--- a/src/rt/rustrt.def.in
+++ b/src/rt/rustrt.def.in
@@ -41,8 +41,6 @@ rust_log_console_off
 rust_should_log_console
 rust_set_environ
 rust_unset_sigprocmask
-rust_sched_current_nonlazy_threads
-rust_sched_threads
 rust_set_exit_status
 rust_start
 rust_env_pairs