threading: Reschedule only on cores that are necessary.

This commit is contained in:
bunnei
2018-05-05 23:54:43 -04:00
parent d6e3cd9a17
commit 8aa5d25f82
4 changed files with 10 additions and 3 deletions

View File

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