- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
rd4e68a6 r73abe95 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jun 22 11:39:17 201913 // Update Count : 1 612 // Last Modified On : Tue Apr 10 14:46:49 2018 13 // Update Count : 10 14 14 // 15 15 … … 91 91 this.lock = NULL; 92 92 } 93 static inline void ^?{}(FinishAction & ) {}93 static inline void ^?{}(FinishAction & this) {} 94 94 95 95 // Processor … … 176 176 __dllist_t(struct processor) procs; 177 177 __dllist_t(struct processor) idles; 178 unsigned int nprocessors; 179 180 // List of threads 178 179 // List of processors 181 180 __spinlock_t thread_list_lock; 182 181 __dllist_t(struct thread_desc) threads; 183 unsigned int nthreads;184 182 185 183 // Link lists fields … … 202 200 } 203 201 204 static inline struct processor * active_processor() { return TL_GET( this_processor ); } // UNSAFE205 static inline struct cluster * active_cluster () { return TL_GET( this_processor )->cltr; }206 207 202 // Local Variables: // 208 203 // mode: c //
Note:
See TracChangeset
for help on using the changeset viewer.