about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-02-08 20:52:52 -0800
committerBrian Anderson <banderson@mozilla.com>2012-02-09 19:00:15 -0800
commit0667fb4e6342a6a18320b464316ae7ba9c2bc192 (patch)
treebefae4b91f28e7ad1343adb9df1ca169b5ac02ea /src/rt/rust_kernel.cpp
parentae8ea4a78b113f67ade93152dc3dee1ded81a219 (diff)
downloadrust-0667fb4e6342a6a18320b464316ae7ba9c2bc192.tar.gz
rust-0667fb4e6342a6a18320b464316ae7ba9c2bc192.zip
rt: Make rust_task::ref_count private
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index 9768fffaf0b..8752ea37be9 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -190,6 +190,7 @@ rust_kernel::get_task_by_id(rust_task_id id) {
     task_table.get(id, &task);
     if(task) {
         if(task->get_ref_count() == 0) {
+            // FIXME: I don't think this is possible.
             // this means the destructor is running, since the destructor
             // grabs the kernel lock to unregister the task. Pretend this
             // doesn't actually exist.