Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/coroutine.hfa

    r4422579 rbfcf6b9  
    144144
    145145        if( unlikely(dst->context.SP == 0p) ) {
     146                active_thread()->curr_cor = dst;
    146147                __stack_prepare(&dst->stack, 65000);
    147148                __cfactx_start(main, dst, cor, __cfactx_invoke_coroutine);
     149                active_thread()->curr_cor = src;
    148150        }
    149151
Note: See TracChangeset for help on using the changeset viewer.