diff options
| author | Michael Bebenita <[email protected]> | 2010-09-08 15:16:14 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-09-08 15:17:09 -0700 |
| commit | 388f8ce520b16d73bf682cf6bf3f714bcc35b49d (patch) | |
| tree | d8a6a1180ec715b8dd87239fb5e315149a40a078 /src/rt/util | |
| parent | XFAIL task-comm-8, see if this helps burning-tree. (diff) | |
| download | rust-388f8ce520b16d73bf682cf6bf3f714bcc35b49d.tar.xz rust-388f8ce520b16d73bf682cf6bf3f714bcc35b49d.zip | |
Cleaned up locking in the kernel.
Diffstat (limited to 'src/rt/util')
| -rw-r--r-- | src/rt/util/synchronized_indexed_list.h | 8 |
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 a7f79a74..a373db66 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. |