Kernel: Clang Format
This commit is contained in:
parent
e05a8c2385
commit
1ec1e81373
2 changed files with 3 additions and 2 deletions
|
@ -281,7 +281,8 @@ void GlobalScheduler::PreemptThreads() {
|
||||||
UnloadThread(winner->GetProcessorID());
|
UnloadThread(winner->GetProcessorID());
|
||||||
}
|
}
|
||||||
TransferToCore(winner->GetPriority(), core_id, winner);
|
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) {
|
if (current_thread != nullptr && current_thread->GetPriority() > priority) {
|
||||||
|
|
Loading…
Reference in a new issue