Browse Source

kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

nce_cpp
bunnei 5 years ago
parent
commit
589ecb9a75
  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