forked from ShuriZma/suyu
Scheduler: Correct Select Threads Step 2.
This commit is contained in:
parent
07993ac8c8
commit
1e987dbe8d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue