Ignore:
File:
1 edited

Legend:

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

    r82c948c r65deb18  
    3434        self_cor{};
    3535        self_cor.name = "Anonymous Coroutine";
    36         curr_cor = &self_cor;
    3736        self_mon.owner = &this;
    3837        self_mon.recursion = 1;
    3938        self_mon_p = &self_mon;
    4039        next = NULL;
    41         __cfaabi_dbg_debug_do(
    42                 dbg_next = NULL;
    43                 dbg_prev = NULL;
    44                 __cfaabi_dbg_thread_register(&this);
    45         )
    4640
    4741        monitors{ &self_mon_p, 1, (fptr_t)0 };
     
    10599        dst->state = Active;
    106100
     101        //update the last resumer
     102        dst->last = src;
     103
    107104        // set new coroutine that the processor is executing
    108105        // and context switch to it
Note: See TracChangeset for help on using the changeset viewer.