Changeset 28372f7 for libcfa/src/concurrency/kernel.cfa
- Timestamp:
- Oct 28, 2022, 2:57:20 PM (22 months ago)
- Branches:
- ADT, ast-experimental, master
- Children:
- 2856982c
- Parents:
- 22a0e87
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel.cfa
r22a0e87 r28372f7 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;605 604 if( TICKET_RUNNING != thrd->ticket ) { abort( "Thread terminated with pending unpark" ); } 606 605 if( thrd != this->owner ) { abort( "Thread internal monitor has incorrect owner" ); } 607 606 if( this->recursion != 1) { abort( "Thread internal monitor has unbalanced recursion" ); } 607 608 thrd->state = Halting; 609 thrd->ticket = TICKET_DEAD; 608 610 609 611 // Leave the thread
Note: See TracChangeset
for help on using the changeset viewer.