Changeset 3e1a705


Ignore:
Timestamp:
May 6, 2021, 5:51:27 PM (4 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:
c8ffd74f
Parents:
938885d3
Message:

Start ready queue cutoff at zero to avoid spurious steals.

File:
1 edited

Legend:

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

    r938885d3 r3e1a705  
    496496        this.rdq.id  = -1u;
    497497        this.rdq.target = -1u;
    498         this.rdq.cutoff = -1ull;
     498        this.rdq.cutoff = 0ull;
    499499        do_terminate = false;
    500500        preemption_alarm = 0p;
Note: See TracChangeset for help on using the changeset viewer.