Changeset 93d2219 for libcfa/src/concurrency/kernel.hfa
- Timestamp:
- Oct 28, 2022, 3:12:16 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- fa2e183
- Parents:
- e874605 (diff), 22a0e87 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
re874605 r93d2219 160 160 // P9_EMBEDDED( processor, dlink(processor) ) 161 161 static inline tytagref( dlink(processor), dlink(processor) ) ?`inner( processor & this ) { 162 163 164 162 dlink(processor) & b = this.link; 163 tytagref( dlink(processor), dlink(processor) ) result = { b }; 164 return result; 165 165 } 166 166 … … 269 269 io_context_params params; 270 270 } io; 271 272 struct { 273 struct processor ** procs; 274 unsigned cnt; 275 } managed; 271 276 272 277 #if !defined(__CFA_NO_STATISTICS__) … … 298 303 static inline struct cluster * active_cluster () { return publicTLS_get( this_processor )->cltr; } 299 304 305 // set the number of internal processors 306 // these processors are in addition to any explicitly declared processors 307 unsigned set_concurrency( cluster & this, unsigned new_count ); 308 300 309 #if !defined(__CFA_NO_STATISTICS__) 301 310 void print_stats_now( cluster & this, int flags );
Note:
See TracChangeset
for help on using the changeset viewer.