Skip to content
Snippets Groups Projects
Commit 1e987dbe authored by Fernando Sahmkow's avatar Fernando Sahmkow
Browse files

Scheduler: Correct Select Threads Step 2.

parent 07993ac8
No related branches found
No related tags found
No related merge requests found
...@@ -103,6 +103,7 @@ u32 GlobalScheduler::SelectThreads() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment