From 9c3419ebccf046e0a123e0516ea134547393e451 Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 3 Apr 2015 18:40:16 -0400 Subject: Kernel: Implemented priority inheritance for mutexes. --- src/core/hle/kernel/thread.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/hle/kernel/thread.h') diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 92f2c423..233bcbdb 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -89,6 +89,12 @@ public: */ void SetPriority(s32 priority); + /** + * Temporarily boosts the thread's priority until the next time it is scheduled + * @param priority The new priority + */ + void BoostPriority(s32 priority); + /** * Gets the thread's thread ID * @return The thread's ID -- cgit v1.2.3