Changeset ef1eab7 in mainline for kernel/generic/include/proc/thread.h
- Timestamp:
- 2018-11-03T21:36:39Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aab5e46
- Parents:
- ad2cf04
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/thread.h
rad2cf04 ref1eab7 42 42 #include <synch/spinlock.h> 43 43 #include <synch/rcu_types.h> 44 #include <adt/ avl.h>44 #include <adt/odict.h> 45 45 #include <mm/slab.h> 46 46 #include <arch/cpu.h> … … 75 75 link_t th_link; /**< Links to threads within containing task. */ 76 76 77 /** Threads linkage to the threads_tree. */78 avltree_node_t threads_tree_node;77 /** Link to @c threads ordered dictionary. */ 78 odlink_t lthreads; 79 79 80 80 /** Lock protecting thread structure. … … 224 224 } thread_t; 225 225 226 /** Thread list lock.227 *228 * This lock protects the threads_tree.229 * Must be acquired before T.lock for each T of type thread_t.230 *231 */232 226 IRQ_SPINLOCK_EXTERN(threads_lock); 233 234 /** AVL tree containing all threads. */ 235 extern avltree_t threads_tree; 227 extern odict_t threads; 236 228 237 229 extern void thread_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.