Browse Source

kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

pull/15/merge
bunnei 5 years ago
parent
commit
1772ebeb1e
  1. 2
      src/core/hle/kernel/global_scheduler_context.h

2
src/core/hle/kernel/global_scheduler_context.h

@ -21,7 +21,7 @@ class KernelCore;
class SchedulerLock;
using KSchedulerPriorityQueue =
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority + 1,
KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority,
Svc::HighestThreadPriority>;
static constexpr s32 HighestCoreMigrationAllowedPriority = 2;

Loading…
Cancel
Save