Ignore:
Timestamp:
Jun 12, 2023, 2:45:32 PM (2 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ast-experimental, master
Children:
62d62db
Parents:
34b4268 (diff), 251ce80 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ast-experimental

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/thread.cfa

    r34b4268 r24d6572  
    1010// Created On       : Tue Jan 17 12:27:26 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun Dec 11 20:56:54 2022
    13 // Update Count     : 102
     12// Last Modified On : Mon Jan  9 08:42:33 2023
     13// Update Count     : 103
    1414//
    1515
    1616#define __cforall_thread__
    17 #define _GNU_SOURCE
    1817
    1918#include "thread.hfa"
     
    5453        preferred = ready_queue_new_preferred();
    5554        last_proc = 0p;
     55    link_node = 0p;
    5656        PRNG_SET_SEED( random_state, __global_random_mask ? __global_random_prime : __global_random_prime ^ rdtscl() );
    5757        #if defined( __CFA_WITH_VERIFY__ )
     
    6060        #endif
    6161
    62         clh_node = malloc( );
    63         *clh_node = false;
    64 
    6562        doregister(curr_cluster, this);
    6663        monitors{ &self_mon_p, 1, (fptr_t)0 };
     
    7168                canary = 0xDEADDEADDEADDEADp;
    7269        #endif
    73         free(clh_node);
    7470        unregister(curr_cluster, this);
    7571        ^self_cor{};
Note: See TracChangeset for help on using the changeset viewer.