Ignore:
File:
1 edited

Legend:

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

    r089d30c r1f45c7d  
    116116        // it is not a particularly safe scheme as it can make processors less homogeneous
    117117        struct {
    118                 thread$ * thrd;
     118                $thread * thrd;
    119119        } init;
    120120
     
    151151struct __attribute__((aligned(128))) __timestamp_t {
    152152        volatile unsigned long long tv;
    153         volatile unsigned long long ma;
    154 };
    155 
    156 // Aligned timestamps which are used by the relaxed ready queue
    157 struct __attribute__((aligned(128))) __help_cnts_t {
    158         volatile unsigned long long src;
    159         volatile unsigned long long dst;
    160         volatile unsigned long long tri;
    161 };
    162 
    163 static inline void  ?{}(__timestamp_t & this) { this.tv = 0; this.ma = 0; }
     153};
     154
     155static inline void  ?{}(__timestamp_t & this) { this.tv = 0; }
    164156static inline void ^?{}(__timestamp_t & this) {}
    165157
     
    178170                __timestamp_t * volatile tscs;
    179171
    180                 // Array of stats
    181                 __help_cnts_t * volatile help;
    182 
    183172                // Number of lanes (empty or not)
    184173                volatile size_t count;
     
    227216        // List of threads
    228217        __spinlock_t thread_list_lock;
    229         __dllist_t(struct thread$) threads;
     218        __dllist_t(struct $thread) threads;
    230219        unsigned int nthreads;
    231220
Note: See TracChangeset for help on using the changeset viewer.