- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r8b74fa7 r31c967b 160 160 // P9_EMBEDDED( processor, dlink(processor) ) 161 161 static inline tytagref( dlink(processor), dlink(processor) ) ?`inner( processor & this ) { 162 dlink(processor) & b = this.link;163 tytagref( dlink(processor), dlink(processor) ) result = { b };164 return result;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;276 271 277 272 #if !defined(__CFA_NO_STATISTICS__) … … 303 298 static inline struct cluster * active_cluster () { return publicTLS_get( this_processor )->cltr; } 304 299 305 // set the number of internal processors306 // these processors are in addition to any explicitly declared processors307 unsigned set_concurrency( cluster & this, unsigned new_count );308 309 300 #if !defined(__CFA_NO_STATISTICS__) 310 301 void print_stats_now( cluster & this, int flags );
Note:
See TracChangeset
for help on using the changeset viewer.