mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 19:45:46 +00:00
scheduler: Avoid manual Reschedule call
This will automatically occur anyway when PrepareReschedule is called
This commit is contained in:
parent
5d50fa0824
commit
0ac4caaa54
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