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