about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorPhilipp Brüschweiler <blei42@gmail.com>2012-09-18 12:28:05 +0200
committerBrian Anderson <banderson@mozilla.com>2012-09-19 14:01:53 -0700
commitd3e0a065788ef145fe911cf73bb7324c22b53fee (patch)
treeb8c32522ae1e647b5810c7259a6e0233ab457b9c /src/rt/rust_builtin.cpp
parent68e755b1c26db09cf8e121bbbea2075f6116e279 (diff)
downloadrust-d3e0a065788ef145fe911cf73bb7324c22b53fee.tar.gz
rust-d3e0a065788ef145fe911cf73bb7324c22b53fee.zip
V2: now with more locks!
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp4
1 files changed, 2 insertions, 2 deletions
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();
 }