Correct PrepareReschedule

This commit is contained in:
Fernando Sahmkow
2019-04-02 09:22:53 -04:00
committed by FernandoS27
parent 3a94e7ea33
commit fcc6b34fff
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());
}
}