Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/kernel.hfa

    ra1538cd rdddb3dd0  
    107107        DLISTED_MGD_IMPL_IN(processor)
    108108
    109         // special init fields
    110         // This is needed for memcached integration
    111         // once memcached experiments are done this should probably be removed
    112         // it is not a particularly safe scheme as it can make processors less homogeneous
    113         struct {
    114                 void (*fnc) (void *);
    115                 void * arg;
    116         } init;
    117 
    118109        #if !defined(__CFA_NO_STATISTICS__)
    119110                int print_stats;
     
    127118};
    128119
    129 void  ?{}(processor & this, const char name[], struct cluster & cltr, void (*init) (void *), void * arg);
     120void  ?{}(processor & this, const char name[], struct cluster & cltr);
    130121void ^?{}(processor & this);
    131122
    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 }; }
     123static inline void  ?{}(processor & this)                    { this{ "Anonymous Processor", *mainCluster}; }
     124static inline void  ?{}(processor & this, struct cluster & cltr)    { this{ "Anonymous Processor", cltr}; }
     125static inline void  ?{}(processor & this, const char name[]) { this{name, *mainCluster }; }
    135126
    136127DLISTED_MGD_IMPL_OUT(processor)
Note: See TracChangeset for help on using the changeset viewer.