Ignore:
File:
1 edited

Legend:

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

    r31c967b r160f1aa  
    181181
    182182// Aligned timestamps which are used by the ready queue and io subsystem
    183 union __attribute__((aligned(64))) __timestamp_t;
    184 
    185 void  ?{}(__timestamp_t & this);
    186 void ^?{}(__timestamp_t &);
     183union __attribute__((aligned(64))) __timestamp_t {
     184        struct {
     185                volatile unsigned long long tv;
     186                volatile unsigned long long ma;
     187        } t;
     188        char __padding[192];
     189};
     190
     191static inline void  ?{}(__timestamp_t & this) { this.t.tv = 0; this.t.ma = 0; }
     192static inline void ^?{}(__timestamp_t &) {}
    187193
    188194
Note: See TracChangeset for help on using the changeset viewer.