diff options
| author | Subv <subv2112@gmail.com> | 2018-04-20 14:45:52 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-04-20 21:04:33 -0500 |
| commit | f5a2b1920bf8e4f27bb6a58ba44acce0558353b2 (patch) | |
| tree | 0cdfd46181a5639339cbbf7d22ed31d9c1d8486b /src/core/hle/kernel/thread.cpp | |
| parent | e499b48f97feac4fcf980f8f8d0d5da1f28cbd68 (diff) | |
Kernel: Remove unused ConditionVariable class.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 8093c44960..16d9b9e365 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -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; |
