Ignore:
Timestamp:
May 19, 2021, 1:37:49 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
77f1265
Parents:
9cac0da
Message:

Added option to ready-queue to push ignoring locality.

File:
1 edited

Legend:

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

    r9cac0da rb808625  
    544544        /* paranoid */ verify( 0x0D15EA5E0D15EA5Ep == thrd->canary );
    545545
    546 
     546        const bool local = thrd->state != Start;
    547547        if (thrd->preempted == __NO_PREEMPTION) thrd->state = Ready;
    548548
     
    552552
    553553        // push the thread to the cluster ready-queue
    554         push( cl, thrd );
     554        push( cl, thrd, local );
    555555
    556556        // variable thrd is no longer safe to use
Note: See TracChangeset for help on using the changeset viewer.