Ignore:
Timestamp:
Apr 24, 2021, 7:36:42 PM (7 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
89eff25
Parents:
5c04e82
Message:

Split ready-queue routines in 3 instead of 2.

File:
1 edited

Legend:

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

    r5c04e82 rfc59df78  
    488488
    489489        ready_schedule_lock();
    490                 $thread * thrd = pop_slow( this );
     490                $thread * thrd;
     491                for(25) {
     492                        thrd = pop_slow( this );
     493                        if(thrd) goto RET;
     494                }
     495                thrd = pop_search( this );
     496
     497                RET:
    491498        ready_schedule_unlock();
    492499
Note: See TracChangeset for help on using the changeset viewer.