Changeset a5e7233 for libcfa/src/concurrency/kernel.hfa
- Timestamp:
- Mar 17, 2021, 1:56:12 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- c407434e
- Parents:
- e0c072c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
re0c072c ra5e7233 112 112 // it is not a particularly safe scheme as it can make processors less homogeneous 113 113 struct { 114 void (*fnc) (void *); 115 void * arg; 114 $thread * thrd; 116 115 } init; 117 116 … … 127 126 }; 128 127 129 void ?{}(processor & this, const char name[], struct cluster & cltr , void (*init) (void *), void * arg);128 void ?{}(processor & this, const char name[], struct cluster & cltr); 130 129 void ^?{}(processor & this); 131 130 132 static inline void ?{}(processor & this) { this{ "Anonymous Processor", *mainCluster , 0p, 0p}; }133 static inline void ?{}(processor & this, struct cluster & cltr) { this{ "Anonymous Processor", cltr , 0p, 0p}; }134 static inline void ?{}(processor & this, const char name[]) { this{name, *mainCluster , 0p, 0p}; }131 static inline void ?{}(processor & this) { this{ "Anonymous Processor", *mainCluster}; } 132 static inline void ?{}(processor & this, struct cluster & cltr) { this{ "Anonymous Processor", cltr}; } 133 static inline void ?{}(processor & this, const char name[]) { this{name, *mainCluster}; } 135 134 136 135 DLISTED_MGD_IMPL_OUT(processor)
Note: See TracChangeset
for help on using the changeset viewer.