Skip to content
Snippets Groups Projects
Commit e3566e6c authored by Lioncash's avatar Lioncash
Browse files

kernel/thread: Remove BoostPriority()

This is a holdover from Citra that currently remains unused, so it can
be removed from the Thread interface.
parent 1f4dfb39
No related branches found
No related tags found
No related merge requests found
...@@ -220,11 +220,6 @@ void Thread::SetPriority(u32 priority) { ...@@ -220,11 +220,6 @@ void Thread::SetPriority(u32 priority) {
UpdatePriority(); UpdatePriority();
} }
void Thread::BoostPriority(u32 priority) {
scheduler->SetThreadPriority(this, priority);
current_priority = priority;
}
void Thread::SetWaitSynchronizationResult(ResultCode result) { void Thread::SetWaitSynchronizationResult(ResultCode result) {
context.cpu_registers[0] = result.raw; context.cpu_registers[0] = result.raw;
} }
......
...@@ -136,12 +136,6 @@ public: ...@@ -136,12 +136,6 @@ public:
*/ */
void SetPriority(u32 priority); 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. /// Adds a thread to the list of threads that are waiting for a lock held by this thread.
void AddMutexWaiter(SharedPtr<Thread> thread); void AddMutexWaiter(SharedPtr<Thread> thread);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment