- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r8fc652e0 r5afb49a 275 275 static inline [cluster *&, cluster *& ] __get( cluster & this ) __attribute__((const)) { return this.node.[next, prev]; } 276 276 277 static inline struct processor * active_processor() { return publicTLS_get( this_processor ); } // UNSAFE278 static inline struct cluster * active_cluster () { return publicTLS_get( this_processor )->cltr; }277 static inline struct processor * active_processor() { return TL_GET( this_processor ); } // UNSAFE 278 static inline struct cluster * active_cluster () { return TL_GET( this_processor )->cltr; } 279 279 280 280 #if !defined(__CFA_NO_STATISTICS__) 281 void print_stats_now( cluster & this, int flags );282 283 281 static inline void print_stats_at_exit( cluster & this, int flags ) { 284 282 this.print_stats |= flags;
Note: See TracChangeset
for help on using the changeset viewer.