Correct PrepareReschedule

This commit is contained in:
Fernando Sahmkow 2019-04-02 09:22:53 -04:00 committed by FernandoS27
parent 655ed87f53
commit 87334f0f16
6 changed files with 29 additions and 38 deletions

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