Rename dec/inc_weak_task_count to inc/dec_live_count and remove register_task/unregister_task. Closes #4768

This commit is contained in:
Zack Corr
2013-02-09 19:19:31 +10:00
parent 0c2b4edff5
commit ebd20b7944
6 changed files with 26 additions and 45 deletions

View File

@@ -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();
}
//