Changeset 2802824 for libcfa/src/concurrency/kernel.hfa
- Timestamp:
- May 21, 2020, 5:12:02 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:
- 0e4df2e
- Parents:
- 33e62f1b (diff), 2f1cb37 (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
r33e62f1b r2802824 117 117 struct __io_data; 118 118 119 #define CFA_CLUSTER_IO_POLLER_USER_THREAD 1 << 0 120 // #define CFA_CLUSTER_IO_POLLER_KERNEL_SIDE 1 << 1 119 #define CFA_CLUSTER_IO_POLLER_USER_THREAD 1 << 0 // 0x1 120 #define CFA_CLUSTER_IO_POLLER_THREAD_SUBMITS 1 << 1 // 0x2 121 // #define CFA_CLUSTER_IO_POLLER_KERNEL_SIDE 1 << 2 // 0x4 122 #define CFA_CLUSTER_IO_BUFFLEN_OFFSET 16 121 123 122 124 … … 310 312 extern Duration default_preemption(); 311 313 312 void ?{} (cluster & this, const char name[], Duration preemption_rate, intflags);314 void ?{} (cluster & this, const char name[], Duration preemption_rate, unsigned flags); 313 315 void ^?{}(cluster & this); 314 316 315 static inline void ?{} (cluster & this) { this{"Anonymous Cluster", default_preemption(), 0}; }316 static inline void ?{} (cluster & this, Duration preemption_rate) { this{"Anonymous Cluster", preemption_rate, 0}; }317 static inline void ?{} (cluster & this, const char name[]) { this{name, default_preemption(), 0}; }318 static inline void ?{} (cluster & this, intflags) { this{"Anonymous Cluster", default_preemption(), flags}; }319 static inline void ?{} (cluster & this, Duration preemption_rate, intflags) { this{"Anonymous Cluster", preemption_rate, flags}; }320 static inline void ?{} (cluster & this, const char name[], intflags) { this{name, default_preemption(), flags}; }317 static inline void ?{} (cluster & this) { this{"Anonymous Cluster", default_preemption(), 0}; } 318 static inline void ?{} (cluster & this, Duration preemption_rate) { this{"Anonymous Cluster", preemption_rate, 0}; } 319 static inline void ?{} (cluster & this, const char name[]) { this{name, default_preemption(), 0}; } 320 static inline void ?{} (cluster & this, unsigned flags) { this{"Anonymous Cluster", default_preemption(), flags}; } 321 static inline void ?{} (cluster & this, Duration preemption_rate, unsigned flags) { this{"Anonymous Cluster", preemption_rate, flags}; } 322 static inline void ?{} (cluster & this, const char name[], unsigned flags) { this{name, default_preemption(), flags}; } 321 323 322 324 static inline [cluster *&, cluster *& ] __get( cluster & this ) __attribute__((const)) { return this.node.[next, prev]; }
Note: See TracChangeset
for help on using the changeset viewer.