Changes in src/libcfa/concurrency/invoke.h [e15df4c:8def349]
- File:
-
- 1 edited
-
src/libcfa/concurrency/invoke.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/invoke.h
re15df4c r8def349 31 31 32 32 struct simple_thread_list { 33 struct thread * head;34 struct thread ** tail;33 struct thread_h * head; 34 struct thread_h ** tail; 35 35 }; 36 36 … … 38 38 extern "Cforall" { 39 39 void ?{}( struct simple_thread_list * ); 40 void append( struct simple_thread_list *, struct thread * );41 struct thread * pop_head( struct simple_thread_list * );40 void append( struct simple_thread_list *, struct thread_h * ); 41 struct thread_h * pop_head( struct simple_thread_list * ); 42 42 } 43 43 #endif … … 70 70 }; 71 71 72 struct thread {72 struct thread_h { 73 73 struct coroutine c; 74 74 struct simple_lock lock; 75 struct thread * next;75 struct thread_h * next; 76 76 }; 77 77
Note:
See TracChangeset
for help on using the changeset viewer.