Changeset ef1eab7 in mainline for kernel/generic/include/proc/task.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/task.h
rad2cf04 ref1eab7 44 44 #include <synch/futex.h> 45 45 #include <synch/workqueue.h> 46 #include <adt/avl.h>47 46 #include <adt/btree.h> 48 47 #include <adt/cht.h> 49 48 #include <adt/list.h> 49 #include <adt/odict.h> 50 50 #include <security/perm.h> 51 51 #include <arch/proc/task.h> … … 70 70 /** Task structure. */ 71 71 typedef struct task { 72 /** Task's linkage for the tasks_tree AVL tree.*/73 avltree_node_t tasks_tree_node;72 /** Link to @c tasks ordered dictionary */ 73 odlink_t ltasks; 74 74 75 75 /** Task lock. … … 146 146 } task_t; 147 147 148 /** Synchronize access to @c tasks */ 148 149 IRQ_SPINLOCK_EXTERN(tasks_lock); 149 extern avltree_t tasks_tree; 150 /** Ordered dictionary of all tasks by ID (of task_t structures) */ 151 extern odict_t tasks; 150 152 151 153 extern void task_init(void);
Note:
See TracChangeset
for help on using the changeset viewer.