Changeset 015925a


Ignore:
Timestamp:
Jun 2, 2022, 3:11:17 PM (2 years ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
e5d9274
Parents:
305aaef
Message:

fixed new/delete issue by switching to malloc/free

File:
1 edited

Legend:

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

    r305aaef r015925a  
    5353        node.prev = 0p;
    5454
    55         clh_node = new( false );
     55        clh_node = malloc( );
     56        *clh_node = false;
    5657
    5758        doregister(curr_cluster, this);
     
    6364                canary = 0xDEADDEADDEADDEADp;
    6465        #endif
    65         delete(clh_node);
     66        free(clh_node);
    6667        unregister(curr_cluster, this);
    6768        ^self_cor{};
Note: See TracChangeset for help on using the changeset viewer.