Correct PrepareReschedule

This commit is contained in:
Fernando Sahmkow 2019-04-02 09:22:53 -04:00 • committed by FernandoS27
commit fcc6b34fff

View file

@ -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());
}
}