Changes in / [4783ff6:46b11e2]


Ignore:
File:
1 edited

Legend:

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

    r4783ff6 r46b11e2  
    7777void __thrd_start( T & this, void (*main_p)(T &) ) {
    7878        thread_desc * this_thrd = get_thread(this);
     79        thread_desc * curr_thrd = TL_GET( this_thread );
    7980
    8081        disable_interrupts();
     
    8384        this_thrd->context.[SP, FP] = this_thrd->self_cor.context.[SP, FP];
    8485        verify( this_thrd->context.SP );
     86        // CtxSwitch( &curr_thrd->context, &this_thrd->context );
    8587
    8688        ScheduleThread(this_thrd);
Note: See TracChangeset for help on using the changeset viewer.