summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-12-04 14:13:53 +0100
committerSubv <subv2112@gmail.com>2014-12-04 14:13:53 +0100
commitef1d5cda06deac153582766fa9fc4074cb91f3d5 (patch)
treed4000cfa7373423ba38cab7e74ee396817083dc5 /src/core/hle/kernel/thread.h
parentSVC: Implemented GetThreadId. (diff)
downloadyuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar.gz
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar.bz2
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar.lz
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar.xz
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.tar.zst
yuzu-ef1d5cda06deac153582766fa9fc4074cb91f3d5.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index e87867ac0..53a19d779 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -58,7 +58,12 @@ void Reschedule();
/// Stops the current thread
ResultCode StopThread(Handle thread, const char* reason);
-// Retrieves the thread id of the specified thread handle
+/**
+ * Retrieves the ID of the specified thread handle
+ * @param thread_id Will contain the output thread id
+ * @param handle Handle to the thread we want
+ * @return Whether the function was successful or not
+ */
ResultCode GetThreadId(u32* thread_id, Handle handle);
/// Resumes a thread from waiting by marking it as "ready"