forked from ShuriZma/suyu
1
0
Fork 0

Scheduler: Correct Select Threads Step 2.

This commit is contained in:
Fernando Sahmkow 2020-03-03 15:59:09 -04:00
parent 07993ac8c8
commit 1e987dbe8d
1 changed files with 1 additions and 0 deletions

View File

@ -103,6 +103,7 @@ u32 GlobalScheduler::SelectThreads() {
TransferToCore(suggested->GetPriority(), static_cast<s32>(core_id), suggested); TransferToCore(suggested->GetPriority(), static_cast<s32>(core_id), suggested);
break; break;
} }
suggested = nullptr;
migration_candidates[num_candidates++] = suggested_core_id; migration_candidates[num_candidates++] = suggested_core_id;
} }
// Step 3: Select a suggested thread from another core // Step 3: Select a suggested thread from another core