diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-15 12:59:15 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-15 12:59:19 +0200 |
commit | e3566e6c1d7991944b0d17b511020e19cae402ac (patch) | |
tree | 9d4d4ed0c35d64839a31ce9974717fb308639687 /src/core/hle | |
parent | Merge pull request #2378 from lioncash/ro (diff) | |
download | yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar.gz yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar.bz2 yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar.lz yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar.xz yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.tar.zst yuzu-e3566e6c1d7991944b0d17b511020e19cae402ac.zip |
Diffstat (limited to 'src/core/hle')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 5 | ||||
-rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 1b891f632..ca52267b2 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -220,11 +220,6 @@ void Thread::SetPriority(u32 priority) { UpdatePriority(); } -void Thread::BoostPriority(u32 priority) { - scheduler->SetThreadPriority(this, priority); - current_priority = priority; -} - void Thread::SetWaitSynchronizationResult(ResultCode result) { context.cpu_registers[0] = result.raw; } diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 83c83e45a..32026d7f0 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -136,12 +136,6 @@ public: */ void SetPriority(u32 priority); - /** - * Temporarily boosts the thread's priority until the next time it is scheduled - * @param priority The new priority - */ - void BoostPriority(u32 priority); - /// Adds a thread to the list of threads that are waiting for a lock held by this thread. void AddMutexWaiter(SharedPtr<Thread> thread); |