Rev 2712 | Rev 2907 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2712 | Rev 2790 | ||
|---|---|---|---|
| Line 85... | Line 85... | ||
| 85 | * |
85 | * |
| 86 | * For locking rules, see declaration thereof. |
86 | * For locking rules, see declaration thereof. |
| 87 | */ |
87 | */ |
| 88 | SPINLOCK_INITIALIZE(threads_lock); |
88 | SPINLOCK_INITIALIZE(threads_lock); |
| 89 | 89 | ||
| 90 | /** ALV tree of all threads. |
90 | /** AVL tree of all threads. |
| 91 | * |
91 | * |
| 92 | * When a thread is found in the threads_tree AVL tree, it is guaranteed to |
92 | * When a thread is found in the threads_tree AVL tree, it is guaranteed to |
| 93 | * exist as long as the threads_lock is held. |
93 | * exist as long as the threads_lock is held. |
| 94 | */ |
94 | */ |
| 95 | avltree_t threads_tree; |
95 | avltree_t threads_tree; |