Address review comments
This commit is contained in:
parent
ca3d9d659e
commit
3ee9f669c1
7 changed files with 29 additions and 28 deletions
|
@ -109,7 +109,7 @@ void Mutex::UpdatePriority() {
|
|||
if (!holding_thread)
|
||||
return;
|
||||
|
||||
u32 best_priority = THREADPRIO_LOWEST;
|
||||
u32 best_priority = ThreadPrioLowest;
|
||||
for (auto& waiter : GetWaitingThreads()) {
|
||||
if (waiter->current_priority < best_priority)
|
||||
best_priority = waiter->current_priority;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue