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-04-20 14:00:13 -0700
committerBrian Anderson <banderson@mozilla.com>2012-04-20 14:00:13 -0700
commit53f5c0c623726d39ae5f880fb3781ac48b313f9c (patch)
tree589cddbf0545ed23c269f55b30bef400675cd0d5 /src/rt/rust_kernel.cpp
parent4357e1fd6086931b7a338678d675cd51061c66b2 (diff)
downloadrust-53f5c0c623726d39ae5f880fb3781ac48b313f9c.tar.gz
rust-53f5c0c623726d39ae5f880fb3781ac48b313f9c.zip
rt: Delete some incorrect comments
Diffstat (limited to 'src/rt/rust_kernel.cpp')
-rw-r--r--src/rt/rust_kernel.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rt/rust_kernel.cpp b/src/rt/rust_kernel.cpp
index 8ce79ec9106..a629f2ff4af 100644
--- a/src/rt/rust_kernel.cpp
+++ b/src/rt/rust_kernel.cpp
@@ -124,9 +124,6 @@ rust_kernel::get_scheduler_by_id_nolock(rust_sched_id id) {
 void
 rust_kernel::release_scheduler_id(rust_sched_id id) {
     scoped_lock with(sched_lock);
-    // This list will most likely only ever have a single element in it, but
-    // it's an actual list because we could potentially get here multiple
-    // times before the main thread ever calls wait_for_schedulers()
     join_list.push_back(id);
     sched_lock.signal();
 }