yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

kernel/thread: Remove BoostPriority()

This is a holdover from Citra that currently remains unused, so it can
be removed from the Thread interface.
This commit is contained in:
Lioncash 2019-04-15 06:59:15 -04:00
parent 1f4dfb3998
commit e3566e6c1d
2 changed files with 0 additions and 11 deletions

View File

@ -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;
}

View File

@ -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);