Ignore:
File:
1 edited

Legend:

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

    r09d4b22 rb798713  
    1010// Created On       : Tue Jan 17 12:27:26 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Dec  5 16:26:03 2019
    13 // Update Count     : 44
     12// Last Modified On : Sat Jun 22 18:19:13 2019
     13// Update Count     : 40
    1414//
    1515
     
    158158        };
    159159
     160        // Link lists fields
     161        // instrusive link field for threads
     162        struct __thread_desc_link {
     163                struct thread_desc * next;
     164                struct thread_desc * prev;
     165                unsigned long long ts;
     166        };
     167
    160168        struct thread_desc {
    161169                // Core threading fields
     
    188196                // Link lists fields
    189197                // instrusive link field for threads
    190                 struct thread_desc * next;
     198                struct __thread_desc_link link;
    191199
    192200                struct {
     
    199207        extern "Cforall" {
    200208                static inline thread_desc *& get_next( thread_desc & this ) {
    201                         return this.next;
     209                        return this.link.next;
    202210                }
    203211
     
    207215
    208216                static inline void ?{}(__monitor_group_t & this) {
    209                         (this.data){0p};
     217                        (this.data){NULL};
    210218                        (this.size){0};
    211219                        (this.func){NULL};
Note: See TracChangeset for help on using the changeset viewer.