Ignore:
File:
1 edited

Legend:

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

    r28372f7 r878cfcc  
    602602                /* paranoid */ verifyf( ((uintptr_t)thrd->context.SP) < ((uintptr_t)__get_stack(thrd->curr_cor)->base ), "ERROR : thread$ %p has been corrupted.\n StackPointer too small.\n", thrd );
    603603
     604                thrd->state = Halting;
    604605                if( TICKET_RUNNING != thrd->ticket ) { abort( "Thread terminated with pending unpark" ); }
    605606                if( thrd != this->owner ) { abort( "Thread internal monitor has incorrect owner" ); }
    606607                if( this->recursion != 1) { abort( "Thread internal monitor has unbalanced recursion" ); }
    607 
    608                 thrd->state = Halting;
    609                 thrd->ticket = TICKET_DEAD;
    610608
    611609                // Leave the thread
Note: See TracChangeset for help on using the changeset viewer.