Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/invoke.h

    r1b143de rae7be7a  
    161161        };
    162162
    163         // Link lists fields
    164         // instrusive link field for threads
    165         struct __thread_desc_link {
    166                 struct $thread * next;
    167                 struct $thread * prev;
    168                 volatile unsigned long long ts;
    169         };
    170 
    171163        struct $thread {
    172164                // Core threading fields
     
    200192                // Link lists fields
    201193                // instrusive link field for threads
    202                 struct __thread_desc_link link;
     194                struct $thread * next;
    203195
    204196                struct {
     
    226218        #ifdef __cforall
    227219        extern "Cforall" {
    228 
    229220                static inline $thread *& get_next( $thread & this ) __attribute__((const)) {
    230                         return this.link.next;
     221                        return this.next;
    231222                }
    232223
Note: See TracChangeset for help on using the changeset viewer.