summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-04-04 00:40:16 +0200
committerbunnei <bunneidev@gmail.com>2015-04-10 01:06:39 +0200
commit9c3419ebccf046e0a123e0516ea134547393e451 (patch)
tree24073b71ade88e5f99db439b824228bdc6b2737d /src/core/hle/kernel/thread.h
parentThread: Implement priority boost for starved threads. (diff)
downloadyuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar.gz
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar.bz2
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar.lz
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar.xz
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.tar.zst
yuzu-9c3419ebccf046e0a123e0516ea134547393e451.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 92f2c423b..233bcbdbd 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
*/