Changeset 82f4063 for libcfa/src/concurrency/invoke.h
- Timestamp:
- May 26, 2021, 10:38:19 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- bae0d35
- Parents:
- c65b930
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
rc65b930 r82f4063 20 20 21 21 #ifdef __cforall 22 #include "containers/list.hfa" 22 23 extern "C" { 23 24 #endif … … 196 197 } seqable; 197 198 199 // used to put threads on dlist data structure 200 __cfa_dlink($thread); 201 198 202 struct { 199 203 struct $thread * next; … … 207 211 #endif 208 212 }; 213 #ifdef __cforall 214 P9_EMBEDDED( $thread, dlink($thread) ) 215 #endif 209 216 // Wrapper for gdb 210 217 struct cfathread_thread_t { struct $thread debug; }; … … 236 243 237 244 static inline $thread *& Next( $thread * this ) __attribute__((const)) { 238 return this->seqable.next;245 return this->seqable.next; 239 246 } 240 247
Note: See TracChangeset
for help on using the changeset viewer.