Ignore:
File:
1 edited

Legend:

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

    rae7be7a r1b143de  
    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
    163171        struct $thread {
    164172                // Core threading fields
     
    192200                // Link lists fields
    193201                // instrusive link field for threads
    194                 struct $thread * next;
     202                struct __thread_desc_link link;
    195203
    196204                struct {
     
    218226        #ifdef __cforall
    219227        extern "Cforall" {
     228
    220229                static inline $thread *& get_next( $thread & this ) __attribute__((const)) {
    221                         return this.next;
     230                        return this.link.next;
    222231                }
    223232
Note: See TracChangeset for help on using the changeset viewer.