Ignore:
File:
1 edited

Legend:

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

    rdd46fd3 rbeeff61e  
    1010// Created On       : Tue Jan 17 12:27:26 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Nov 29 20:42:21 2022
    13 // Update Count     : 56
    14 //
     12// Last Modified On : Tue Mar 14 13:39:31 2023
     13// Update Count     : 59
     14//
     15
     16// No not use #pragma once was this file is included twice in some places. It has its own guard system.
    1517
    1618#include "bits/containers.hfa"
     
    215217                struct __thread_user_link cltr_link;
    216218
    217                 // used to store state between clh lock/unlock
    218                 volatile bool * clh_prev;
    219 
    220                 // used to point to this thd's current clh node
    221                 volatile bool * clh_node;
    222 
    223219                struct processor * last_proc;
     220
     221        // ptr used during handover between blocking lists to allow for stack allocation of intrusive nodes
     222        // main use case is wait-morphing to allow a different node to be used to block on condvar vs lock
     223        void * link_node;
    224224
    225225                PRNG_STATE_T random_state;                                              // fast random numbers
Note: See TracChangeset for help on using the changeset viewer.