From d3e0a065788ef145fe911cf73bb7324c22b53fee Mon Sep 17 00:00:00 2001 From: Philipp Brüschweiler Date: Tue, 18 Sep 2012 12:28:05 +0200 Subject: V2: now with more locks! --- src/rt/rust_builtin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rt/rust_builtin.cpp') diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index f1c2afc0f4b..8829089822c 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -627,13 +627,13 @@ start_task(rust_task *target, fn_env_pair *f) { } extern "C" CDECL size_t -rust_sched_threads() { +rust_sched_current_nonlazy_threads() { rust_task *task = rust_get_current_task(); return task->sched->number_of_threads(); } extern "C" CDECL size_t -rust_max_sched_threads() { +rust_sched_threads() { rust_task *task = rust_get_current_task(); return task->sched->max_number_of_threads(); } -- cgit 1.4.1-3-g733a5