- File:
-
- 1 edited
-
libcfa/src/concurrency/kernel.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r28372f7 r878cfcc 602 602 /* 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 ); 603 603 604 thrd->state = Halting; 604 605 if( TICKET_RUNNING != thrd->ticket ) { abort( "Thread terminated with pending unpark" ); } 605 606 if( thrd != this->owner ) { abort( "Thread internal monitor has incorrect owner" ); } 606 607 if( this->recursion != 1) { abort( "Thread internal monitor has unbalanced recursion" ); } 607 608 thrd->state = Halting;609 thrd->ticket = TICKET_DEAD;610 608 611 609 // Leave the thread
Note:
See TracChangeset
for help on using the changeset viewer.