mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-03-02 22:13:07 +00:00
Correct PrepareReschedule
This commit is contained in:
committed by
FernandoS27
parent
3a94e7ea33
commit
fcc6b34fff
@@ -97,8 +97,7 @@ void WaitObject::WakeupWaitingThread(SharedPtr<Thread> thread) {
|
||||
}
|
||||
if (resume) {
|
||||
thread->ResumeFromWait();
|
||||
if (thread->GetProcessorID() >= 0)
|
||||
Core::System::GetInstance().CpuCore(thread->GetProcessorID()).PrepareReschedule();
|
||||
Core::System::GetInstance().PrepareReschedule(thread->GetProcessorID());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user