mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
Correct PrepareReschedule
This commit is contained in:
parent
655ed87f53
commit
87334f0f16
6 changed files with 29 additions and 38 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue