Scheduler: Corrections to YieldAndBalanceLoad and Yield bombing protection.

This commit is contained in:
Fernando Sahmkow 2019-09-10 15:26:24 -04:00 committed by FernandoS27
parent b49c0dab87
commit 2d382de6fa
2 changed files with 8 additions and 8 deletions

View file

@ -155,7 +155,7 @@ private:
std::array<Common::MultiLevelQueue<Thread*, THREADPRIO_COUNT>, NUM_CPU_CORES> suggested_queue;
std::atomic<bool> reselection_pending;
std::array<u64, NUM_CPU_CORES> preemption_priorities = {59, 59, 59, 62};
std::array<u32, NUM_CPU_CORES> preemption_priorities = {59, 59, 59, 62};
/// Lists all thread ids that aren't deleted/etc.
std::vector<SharedPtr<Thread>> thread_list;