Changeset 669f3d32 in mainline for kernel/generic/include/proc/task.h
- Timestamp:
- 2012-11-20T18:26:14Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c28413a9
- Parents:
- 04d66804
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r04d66804 r669f3d32 43 43 #include <synch/mutex.h> 44 44 #include <synch/futex.h> 45 #include <synch/workqueue.h> 45 46 #include <adt/avl.h> 46 47 #include <adt/btree.h> 48 #include <adt/cht.h> 47 49 #include <adt/list.h> 48 50 #include <security/cap.h> … … 127 129 task_arch_t arch; 128 130 129 /** 130 * Serializes access to the B+tree of task's futexes. This mutex is 131 * independent on the task spinlock. 132 */ 133 mutex_t futexes_lock; 134 /** B+tree of futexes referenced by this task. */ 135 btree_t futexes; 131 /** Serializes access to futex_list (independent of the task spinlock). */ 132 mutex_t futex_list_lock; 133 /** List of all futexes accesses by this task. */ 134 list_t futex_list; 135 /** CHT mapping virtual addresses of futex variables to futex objects. */ 136 struct futex_cache { 137 work_t destroy_work; 138 cht_t ht; 139 } *futexes; 136 140 137 141 /** Accumulated accounting. */
Note:
See TracChangeset
for help on using the changeset viewer.