Ignore:
Timestamp:
Mar 24, 2021, 2:35:24 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4260566
Parents:
98d9ce9
Message:

Fixed bug with incorrect use of thread cast.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/clib/cfathread.cfa

    r98d9ce9 r4150779  
    5858        this.themain = themain;
    5959        this.arg = arg;
    60         ((thread&)this){"C-thread", cl};
     60        (this.self){"C-thread", cl};
    6161        __thrd_start(this, main);
    6262}
     
    102102        this.init = init;
    103103        this.arg = arg;
    104         ((thread&)this){"Processir Init"};
     104        (this.self){"Processir Init"};
    105105
    106106        // Don't use __thrd_start! just prep the context manually
Note: See TracChangeset for help on using the changeset viewer.