- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
r121be3e re3fea42 10 10 // Created On : Tue Jan 17 12:27:26 2017 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Dec 4 07:54:51 201913 // Update Count : 1812 // Last Modified On : Tue Feb 4 12:29:26 2020 13 // Update Count : 22 14 14 // 15 15 … … 150 150 }; 151 151 152 void ?{}(processor & this, const char * name, struct cluster & cltr);152 void ?{}(processor & this, const char name[], struct cluster & cltr); 153 153 void ^?{}(processor & this); 154 154 155 155 static inline void ?{}(processor & this) { this{ "Anonymous Processor", *mainCluster}; } 156 156 static inline void ?{}(processor & this, struct cluster & cltr) { this{ "Anonymous Processor", cltr}; } 157 static inline void ?{}(processor & this, const char * name) { this{name, *mainCluster }; }157 static inline void ?{}(processor & this, const char name[]) { this{name, *mainCluster }; } 158 158 159 159 static inline [processor *&, processor *& ] __get( processor & this ) { … … 195 195 extern Duration default_preemption(); 196 196 197 void ?{} (cluster & this, const char * name, Duration preemption_rate);197 void ?{} (cluster & this, const char name[], Duration preemption_rate); 198 198 void ^?{}(cluster & this); 199 199 200 200 static inline void ?{} (cluster & this) { this{"Anonymous Cluster", default_preemption()}; } 201 201 static inline void ?{} (cluster & this, Duration preemption_rate) { this{"Anonymous Cluster", preemption_rate}; } 202 static inline void ?{} (cluster & this, const char * name) { this{name, default_preemption()}; }202 static inline void ?{} (cluster & this, const char name[]) { this{name, default_preemption()}; } 203 203 204 204 static inline [cluster *&, cluster *& ] __get( cluster & this ) {
Note: See TracChangeset
for help on using the changeset viewer.