Changeset 5b2b42e


Ignore:
Timestamp:
Feb 20, 2020, 4:00:51 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4783ff6
Parents:
13d2dac
Message:

Removed the old ctxswitch in thread_start and the variable that caused a warning

File:
1 edited

Legend:

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

    r13d2dac r5b2b42e  
    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 );
    8079
    8180        disable_interrupts();
     
    8483        this_thrd->context.[SP, FP] = this_thrd->self_cor.context.[SP, FP];
    8584        verify( this_thrd->context.SP );
    86         // CtxSwitch( &curr_thrd->context, &this_thrd->context );
    8785
    8886        ScheduleThread(this_thrd);
Note: See TracChangeset for help on using the changeset viewer.