about summary refs log tree commit diff
path: root/src/rt/util
diff options
context:
space:
mode:
authorMichael Bebenita <mbebenita@mozilla.com>2010-09-08 15:16:14 -0700
committerMichael Bebenita <mbebenita@mozilla.com>2010-09-08 15:17:09 -0700
commit388f8ce520b16d73bf682cf6bf3f714bcc35b49d (patch)
treed8a6a1180ec715b8dd87239fb5e315149a40a078 /src/rt/util
parent37cc13960744ad8a7a828da1db6edd4ced454353 (diff)
downloadrust-388f8ce520b16d73bf682cf6bf3f714bcc35b49d.tar.gz
rust-388f8ce520b16d73bf682cf6bf3f714bcc35b49d.zip
Cleaned up locking in the kernel.
Diffstat (limited to 'src/rt/util')
-rw-r--r--src/rt/util/synchronized_indexed_list.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/rt/util/synchronized_indexed_list.h b/src/rt/util/synchronized_indexed_list.h
index a7f79a74fa2..a373db66deb 100644
--- a/src/rt/util/synchronized_indexed_list.h
+++ b/src/rt/util/synchronized_indexed_list.h
@@ -6,14 +6,8 @@
 template<typename T> class synchronized_indexed_list :
     public indexed_list<T> {
     spin_lock _lock;
-public:
-    /**
-     * Clients can use this global lock that is associated with the list to
-     * perform more coarse grained locking. Internally, the synchronized list
-     * doesn'tactually make any use of this lock.
-     */
-    spin_lock global;
 
+public:
     synchronized_indexed_list(memory_region *region) :
         indexed_list<T>(region) {
         // Nop.