1
0
Fork 0
forked from suyu/suyu

Kernel: Clang Format

This commit is contained in:
Fernando Sahmkow 2019-09-30 20:50:59 -04:00 committed by FernandoS27
parent e05a8c2385
commit 1ec1e81373
2 changed files with 3 additions and 2 deletions

View file

@ -281,7 +281,8 @@ void GlobalScheduler::PreemptThreads() {
UnloadThread(winner->GetProcessorID());
}
TransferToCore(winner->GetPriority(), core_id, winner);
current_thread = winner->GetPriority() <= current_thread->GetPriority() ? winner : current_thread;
current_thread =
winner->GetPriority() <= current_thread->GetPriority() ? winner : current_thread;
}
if (current_thread != nullptr && current_thread->GetPriority() > priority) {