diff options
author | bunnei <bunneidev@gmail.com> | 2015-04-03 18:40:16 -0400 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-04-09 19:06:39 -0400 |
commit | 9c3419ebccf046e0a123e0516ea134547393e451 (patch) | |
tree | 24073b71ade88e5f99db439b824228bdc6b2737d /src/core/hle/kernel/thread.h | |
parent | 7b9f428b23e1761e7b6c177d2e8eb9219ac6b7f6 (diff) |
Kernel: Implemented priority inheritance for mutexes.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -90,6 +90,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 */ |