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 | be155f4d9d410886853c25ffa032ce41a7428337 (patch) | |
| tree | 0cdfd46181a5639339cbbf7d22ed31d9c1d8486b /src/core/hle/kernel/thread.cpp | |
| parent | 5fdfbfe25adafd2734a19fe94cccc58993cb12e7 (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 8093c4496..16d9b9e36 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; |
