Changeset 5dcee525 in mainline for kernel/generic/include/proc/thread.h
- Timestamp:
- 2007-07-29T13:50:20Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 83a5cba
- Parents:
- d1e9321
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
rd1e9321 r5dcee525 42 42 #include <synch/rwlock.h> 43 43 #include <synch/spinlock.h> 44 #include <adt/ btree.h>44 #include <adt/avl.h> 45 45 #include <mm/slab.h> 46 46 #include <arch/cpu.h> … … 91 91 link_t wq_link; /**< Wait queue link. */ 92 92 link_t th_link; /**< Links to threads within containing task. */ 93 94 /** Threads linkage to the threads_tree. */ 95 avltree_node_t threads_tree_node; 93 96 94 97 /** Lock protecting thread structure. … … 205 208 /** Thread list lock. 206 209 * 207 * This lock protects all link_t structures chained in threads_head.210 * This lock protects the threads_tree. 208 211 * Must be acquired before T.lock for each T of type thread_t. 209 212 * … … 211 214 SPINLOCK_EXTERN(threads_lock); 212 215 213 /** B+tree containing all threads. */214 extern btree_t threads_btree;216 /** AVL tree containing all threads. */ 217 extern avltree_t threads_tree; 215 218 216 219 extern void thread_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.