Ignore:
File:
1 edited

Legend:

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

    rde6319f rb10affd  
    3030//-----------------------------------------------------------------------------
    3131// Thread ctors and dtors
    32 void ?{}(thread_desc & this, const char * const name, cluster & cl, void * storage, size_t storageSize ) with( this ) {
    33         self_cor{ name, storage, storageSize };
    34         verify(&self_cor);
     32
     33void ?{}(thread_desc& this) with( this ) {
     34        self_cor{};
     35        self_cor.name = "Anonymous Coroutine";
    3536        curr_cor = &self_cor;
    3637        self_mon.owner = &this;
    3738        self_mon.recursion = 1;
    3839        self_mon_p = &self_mon;
    39         curr_cluster = &cl;
    4040        next = NULL;
    4141        __cfaabi_dbg_debug_do(
Note: See TracChangeset for help on using the changeset viewer.