scheduler: Avoid manual Reschedule call
This will automatically occur anyway when PrepareReschedule is called
This commit is contained in:
parent
b5af41a07b
commit
ddf5903cd9
2 changed files with 11 additions and 11 deletions
|
@ -994,7 +994,9 @@ static void SleepThread(s64 nanoseconds) {
|
|||
GetCurrentThread()->WakeAfterDelay(nanoseconds);
|
||||
}
|
||||
|
||||
Core::System::GetInstance().PrepareReschedule();
|
||||
// Reschedule all CPU cores
|
||||
for (std::size_t i = 0; i < 4; ++i)
|
||||
Core::System::GetInstance().CpuCore(i).PrepareReschedule();
|
||||
}
|
||||
|
||||
/// Wait process wide key atomic
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue