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/rt/rust_builtin.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/rt/rust_builtin.cpp') 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 -- cgit 1.4.1-3-g733a5