Changeset 1a5fe4f in mainline for kernel/generic/include/proc
- Timestamp:
- 2018-11-09T18:09:55Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1892d2c
- Parents:
- 3875f106 (diff), ef4218f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jakub Jermář <jakub@…> (2018-11-09 18:09:55)
- git-committer:
- GitHub <noreply@…> (2018-11-09 18:09:55)
- Location:
- kernel/generic/include/proc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/proc/task.h
r3875f106 r1a5fe4f 43 43 #include <synch/mutex.h> 44 44 #include <synch/futex.h> 45 #include <synch/workqueue.h>46 #include <adt/cht.h>47 45 #include <adt/list.h> 48 46 #include <adt/odict.h> … … 130 128 task_arch_t arch; 131 129 132 struct futex_cache { 133 /** CHT mapping virtual addresses of futex variables to futex objects.*/ 134 cht_t ht; 135 /** Serializes access to futex_list.*/ 136 SPINLOCK_DECLARE(list_lock); 137 /** List of all futexes accesses by this task. */ 138 list_t list; 139 work_t destroy_work; 140 } *futexes; 130 /** Serializes access to futex_list.*/ 131 SPINLOCK_DECLARE(futex_list_lock); 132 /** List of all futexes accesses by this task. */ 133 list_t futex_list; 141 134 142 135 /** Accumulated accounting. */ -
kernel/generic/include/proc/thread.h
r3875f106 r1a5fe4f 41 41 #include <cpu.h> 42 42 #include <synch/spinlock.h> 43 #include <synch/rcu_types.h>44 43 #include <adt/odict.h> 45 44 #include <mm/slab.h> … … 194 193 thread_id_t tid; 195 194 196 /** Work queue this thread belongs to or NULL. Immutable. */197 struct work_queue *workq;198 /** Links work queue threads. Protected by workq->lock. */199 link_t workq_link;200 /** True if the worker was blocked and is not running. Use thread->lock. */201 bool workq_blocked;202 /** True if the worker will block in order to become idle. Use workq->lock. */203 bool workq_idling;204 205 /** RCU thread related data. Protected by its own locks. */206 rcu_thread_data_t rcu;207 208 195 /** Architecture-specific data. */ 209 196 thread_arch_t arch;
Note:
See TracChangeset
for help on using the changeset viewer.
