summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-20 22:36:01 +0100
committerbunnei <bunneidev@gmail.com>2014-12-20 22:36:01 +0100
commit2e5869c9395c2304cfc43a28bf734c345f845b65 (patch)
tree0c382725b245a82d9e0569deab332a64477fe438 /src/core/hle/kernel/thread.h
parentMerge pull request #296 from lioncash/dyn (diff)
parentKernel: Implement support for current thread pseudo-handle (diff)
downloadyuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar.gz
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar.bz2
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar.lz
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar.xz
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.tar.zst
yuzu-2e5869c9395c2304cfc43a28bf734c345f845b65.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index be7adface..ec3b887d4 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -78,6 +78,9 @@ Handle ArbitrateHighestPriorityThread(u32 arbiter, u32 address);
/// Arbitrate all threads currently waiting...
void ArbitrateAllThreads(u32 arbiter, u32 address);
+/// Gets the current thread
+Thread* GetCurrentThread();
+
/// Gets the current thread handle
Handle GetCurrentThreadHandle();