Changes in libcfa/src/concurrency/invoke.h [09d4b22:b798713]
- File:
-
- 1 edited
-
libcfa/src/concurrency/invoke.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
r09d4b22 rb798713 10 10 // Created On : Tue Jan 17 12:27:26 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 5 16:26:03 201913 // Update Count : 4 412 // Last Modified On : Sat Jun 22 18:19:13 2019 13 // Update Count : 40 14 14 // 15 15 … … 158 158 }; 159 159 160 // Link lists fields 161 // instrusive link field for threads 162 struct __thread_desc_link { 163 struct thread_desc * next; 164 struct thread_desc * prev; 165 unsigned long long ts; 166 }; 167 160 168 struct thread_desc { 161 169 // Core threading fields … … 188 196 // Link lists fields 189 197 // instrusive link field for threads 190 struct thread_desc * next;198 struct __thread_desc_link link; 191 199 192 200 struct { … … 199 207 extern "Cforall" { 200 208 static inline thread_desc *& get_next( thread_desc & this ) { 201 return this. next;209 return this.link.next; 202 210 } 203 211 … … 207 215 208 216 static inline void ?{}(__monitor_group_t & this) { 209 (this.data){ 0p};217 (this.data){NULL}; 210 218 (this.size){0}; 211 219 (this.func){NULL};
Note:
See TracChangeset
for help on using the changeset viewer.