mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
threading: Reschedule only on cores that are necessary.
This commit is contained in:
parent
9e559ceb09
commit
5a5850af69
4 changed files with 10 additions and 3 deletions
|
@ -189,7 +189,7 @@ void Thread::ResumeFromWait() {
|
|||
|
||||
status = THREADSTATUS_READY;
|
||||
scheduler->ScheduleThread(this, current_priority);
|
||||
Core::System::GetInstance().PrepareReschedule();
|
||||
Core::System::GetInstance().CpuCore(processor_id).PrepareReschedule();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue