Changes in libcfa/src/concurrency/invoke.h [ae7be7a:1b143de]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
rae7be7a r1b143de 161 161 }; 162 162 163 // Link lists fields 164 // instrusive link field for threads 165 struct __thread_desc_link { 166 struct $thread * next; 167 struct $thread * prev; 168 volatile unsigned long long ts; 169 }; 170 163 171 struct $thread { 164 172 // Core threading fields … … 192 200 // Link lists fields 193 201 // instrusive link field for threads 194 struct $thread * next;202 struct __thread_desc_link link; 195 203 196 204 struct { … … 218 226 #ifdef __cforall 219 227 extern "Cforall" { 228 220 229 static inline $thread *& get_next( $thread & this ) __attribute__((const)) { 221 return this. next;230 return this.link.next; 222 231 } 223 232
Note:
See TracChangeset
for help on using the changeset viewer.