Changeset 09ab0a9a in mainline for kernel/generic/include/synch
- Timestamp:
- 2018-09-13T12:05:53Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc74cb5
- Parents:
- b2aaaa0
- git-author:
- Jiri Svoboda <jiri@…> (2018-09-13 07:09:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-09-13 12:05:53)
- Location:
- kernel/generic/include/synch
- Files:
-
- 4 edited
-
condvar.h (modified) (1 diff)
-
rcu.h (modified) (4 diffs)
-
rcu_types.h (modified) (4 diffs)
-
workqueue.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/synch/condvar.h
rb2aaaa0 r09ab0a9a 69 69 irq_spinlock_t *irq_lock, uint32_t usec, int flags); 70 70 71 72 71 #endif 73 72 -
kernel/generic/include/synch/rcu.h
rb2aaaa0 r09ab0a9a 40 40 #include <barrier.h> 41 41 42 43 42 /** Use to assign a pointer to newly initialized data to a rcu reader 44 43 * accessible pointer. … … 92 91 #define rcu_access(ptr) ACCESS_ONCE(ptr) 93 92 94 95 96 97 93 #include <debug.h> 98 94 #include <preemption.h> 99 95 #include <cpu.h> 100 96 #include <proc/thread.h> 101 102 97 103 98 extern bool rcu_read_locked(void); … … 122 117 extern void _rcu_synchronize(bool expedite); 123 118 124 125 119 #ifdef RCU_PREEMPT_A 126 120 … … 158 152 extern rcu_gp_t _rcu_cur_gp; 159 153 extern void _rcu_signal_read_unlock(void); 160 161 154 162 155 /** Unconditionally records a quiescent state for the local cpu. */ -
kernel/generic/include/synch/rcu_types.h
rb2aaaa0 r09ab0a9a 43 43 #endif 44 44 45 46 45 /* Fwd decl. */ 47 46 struct thread; … … 58 57 struct rcu_item *next; 59 58 } rcu_item_t; 60 61 59 62 60 /** RCU related per-cpu data. */ … … 140 138 } rcu_cpu_data_t; 141 139 142 143 140 /** RCU related per-thread data. */ 144 141 typedef struct rcu_thread_data { … … 165 162 } rcu_thread_data_t; 166 163 167 168 164 #endif 169 165 -
kernel/generic/include/synch/workqueue.h
rb2aaaa0 r09ab0a9a 56 56 } work_t; 57 57 58 59 60 58 extern void workq_global_init(void); 61 59 extern void workq_global_worker_init(void); … … 74 72 extern void workq_global_print_info(void); 75 73 76 77 74 extern void workq_after_thread_ran(void); 78 75 extern void workq_before_thread_is_ready(struct thread *);
Note:
See TracChangeset
for help on using the changeset viewer.
