Changes in libcfa/src/concurrency/invoke.h [d4e68a6:63364d8]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/invoke.h
rd4e68a6 r63364d8 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 : 4012 // Last Modified On : Sat May 19 08:23:21 2018 13 // Update Count : 31 14 14 // 15 15 … … 46 46 #ifdef __cforall 47 47 extern "Cforall" { 48 static inline struct thread_desc * & get_next( struct thread_desc & this );49 static inline struct __condition_criterion_t * & get_next( struct __condition_criterion_t & this );48 static inline struct thread_desc * & get_next( struct thread_desc & this ); 49 static inline struct __condition_criterion_t * & get_next( struct __condition_criterion_t & this ); 50 50 51 51 extern thread_local struct KernelThreadData { … … 199 199 #ifdef __cforall 200 200 extern "Cforall" { 201 static inline thread_desc *& get_next( thread_desc & this ) { 201 static inline struct coroutine_desc * active_coroutine() { return TL_GET( this_thread )->curr_cor; } 202 static inline struct thread_desc * active_thread () { return TL_GET( this_thread ); } 203 static inline struct processor * active_processor() { return TL_GET( this_processor ); } // UNSAFE 204 205 static inline thread_desc * & get_next( thread_desc & this ) { 202 206 return this.next; 203 207 } … … 206 210 return this.node.[next, prev]; 207 211 } 212 213 static inline struct __condition_criterion_t * & get_next( struct __condition_criterion_t & this ); 208 214 209 215 static inline void ?{}(__monitor_group_t & this) {
Note:
See TracChangeset
for help on using the changeset viewer.