- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
ra1538cd 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.