mirror of
https://git.suyu.dev/suyu/suyu
synced 2026-03-11 20:01:36 +00:00
scheduler: Avoid manual Reschedule call
This will automatically occur anyway when PrepareReschedule is called
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user