- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.hfa
ra5e7233 ra1538cd 112 112 // it is not a particularly safe scheme as it can make processors less homogeneous 113 113 struct { 114 $thread * thrd; 114 void (*fnc) (void *); 115 void * arg; 115 116 } init; 116 117 … … 126 127 }; 127 128 128 void ?{}(processor & this, const char name[], struct cluster & cltr );129 void ?{}(processor & this, const char name[], struct cluster & cltr, void (*init) (void *), void * arg); 129 130 void ^?{}(processor & this); 130 131 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 }; }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 }; } 134 135 135 136 DLISTED_MGD_IMPL_OUT(processor)
Note:
See TracChangeset
for help on using the changeset viewer.