summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-16 03:42:16 +0200
committerGitHub <noreply@github.com>2019-04-16 03:42:16 +0200
commita7c3275b8b97eac22926786f6e78a474c1c3f828 (patch)
tree937cc401ac6fb489b5b836d24e044678d13a4266 /src
parentMerge pull request #2399 from FernandoS27/fermi-fix (diff)
parentkernel/thread: Remove BoostPriority() (diff)
downloadyuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.gz
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.bz2
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.lz
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.xz
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.tar.zst
yuzu-a7c3275b8b97eac22926786f6e78a474c1c3f828.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/thread.cpp5
-rw-r--r--src/core/hle/kernel/thread.h6
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);