about summary refs log tree commit diff
path: root/src/rt/rust_builtin.cpp
diff options
context:
space:
mode:
authorZack Corr <zack@z0w0.me>2013-02-09 19:19:31 +1000
committerZack Corr <zack@z0w0.me>2013-02-09 19:19:31 +1000
commitebd20b7944c3b427a90e89d3b4a9e43926336eb8 (patch)
treef09f4e4139ff0a5b6199e6bd6c9a77970c4fc7d5 /src/rt/rust_builtin.cpp
parent0c2b4edff5009ff4d2330723d9acbc85af4b12ab (diff)
downloadrust-ebd20b7944c3b427a90e89d3b4a9e43926336eb8.tar.gz
rust-ebd20b7944c3b427a90e89d3b4a9e43926336eb8.zip
Rename dec/inc_weak_task_count to inc/dec_live_count and remove register_task/unregister_task. Closes #4768
Diffstat (limited to 'src/rt/rust_builtin.cpp')
-rw-r--r--src/rt/rust_builtin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp
index 32f2c4ebde2..df54e47770b 100644
--- a/src/rt/rust_builtin.cpp
+++ b/src/rt/rust_builtin.cpp
@@ -945,15 +945,15 @@ rust_get_global_data_ptr() {
 }
 
 extern "C" void
-rust_inc_weak_task_count() {
+rust_inc_kernel_live_count() {
     rust_task *task = rust_get_current_task();
-    task->kernel->inc_weak_task_count();
+    task->kernel->inc_live_count();
 }
 
 extern "C" void
-rust_dec_weak_task_count() {
+rust_dec_kernel_live_count() {
     rust_task *task = rust_get_current_task();
-    task->kernel->dec_weak_task_count();
+    task->kernel->dec_live_count();
 }
 
 //