Changeset 8834751 for libcfa/src/concurrency/kernel_private.hfa
- Timestamp:
- Jun 16, 2020, 12:53:58 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 2073d207
- Parents:
- d29255c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel_private.hfa
rd29255c r8834751 20 20 21 21 #include "alarm.hfa" 22 #include "stats.hfa" 22 23 23 24 … … 237 238 // Statics call at the end of each thread to register statistics 238 239 #if !defined(__CFA_NO_STATISTICS__) 239 void stats_tls_tally(struct cluster * cltr); 240 #else 241 static inline void stats_tls_tally(struct cluster * cltr) {} 240 static inline struct __stats_t * __tls_stats() { 241 /* paranoid */ verify( ! kernelTLS.preemption_state.enabled ); 242 /* paranoid */ verify( kernelTLS.this_stats ); 243 return kernelTLS.this_stats; 244 } 242 245 #endif 243 246
Note: See TracChangeset
for help on using the changeset viewer.