mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 05:07:58 -05:00
Kernel: Remove unused ConditionVariable class.
This commit is contained in:
@ -329,15 +329,6 @@ void Thread::SetPriority(u32 priority) {
|
||||
nominal_priority = current_priority = priority;
|
||||
}
|
||||
|
||||
void Thread::UpdatePriority() {
|
||||
u32 best_priority = nominal_priority;
|
||||
for (auto& mutex : held_mutexes) {
|
||||
if (mutex->priority < best_priority)
|
||||
best_priority = mutex->priority;
|
||||
}
|
||||
BoostPriority(best_priority);
|
||||
}
|
||||
|
||||
void Thread::BoostPriority(u32 priority) {
|
||||
Core::System::GetInstance().Scheduler().SetThreadPriority(this, priority);
|
||||
current_priority = priority;
|
||||
|
Reference in New Issue
Block a user