Changeset 669f3d32 in mainline for kernel/generic/include
- Timestamp:
- 2012-11-20T18:26:14Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c28413a9
- Parents:
- 04d66804
- Location:
- kernel/generic/include
- Files:
-
- 2 edited
-
proc/task.h (modified) (2 diffs)
-
synch/futex.h (modified) (1 diff)
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. */ -
kernel/generic/include/synch/futex.h
r04d66804 r669f3d32 55 55 extern sysarg_t sys_futex_wakeup(uintptr_t); 56 56 57 extern void futex_cleanup(void); 57 extern void futex_task_cleanup(void); 58 extern void futex_task_init(struct task *); 59 extern void futex_task_deinit(struct task *); 58 60 59 61 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
