From 388f8ce520b16d73bf682cf6bf3f714bcc35b49d Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Wed, 8 Sep 2010 15:16:14 -0700 Subject: Cleaned up locking in the kernel. --- src/rt/util/synchronized_indexed_list.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/rt/util') diff --git a/src/rt/util/synchronized_indexed_list.h b/src/rt/util/synchronized_indexed_list.h index a7f79a74..a373db66 100644 --- a/src/rt/util/synchronized_indexed_list.h +++ b/src/rt/util/synchronized_indexed_list.h @@ -6,14 +6,8 @@ template class synchronized_indexed_list : public indexed_list { 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(region) { // Nop. -- cgit v1.2.3