summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-01 22:12:54 -0400
committerGravatar bunnei2014-06-01 22:12:54 -0400
commit3fb31fbc57fd1d537db79af898ef26c92b0e0867 (patch)
treea4ce54e66ae91c66c0ce55ab32468b3b8ec4d6ab /src/core/hle/kernel/thread.h
parentkernel: changed main thread priority to default, updated Kernel::Reschedule t... (diff)
downloadyuzu-3fb31fbc57fd1d537db79af898ef26c92b0e0867.tar.gz
yuzu-3fb31fbc57fd1d537db79af898ef26c92b0e0867.tar.xz
yuzu-3fb31fbc57fd1d537db79af898ef26c92b0e0867.zip
svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-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 9628f165d..094c8d43e 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -65,6 +65,12 @@ Handle GetCurrentThreadHandle();
65/// Put current thread in a wait state - on WaitSynchronization 65/// Put current thread in a wait state - on WaitSynchronization
66void WaitThread_Synchronization(); 66void WaitThread_Synchronization();
67 67
68/// Get the priority of the thread specified by handle
69u32 GetThreadPriority(const Handle handle);
70
71/// Set the priority of the thread specified by handle
72Result SetThreadPriority(Handle handle, s32 priority);
73
68/// Initialize threading 74/// Initialize threading
69void ThreadingInit(); 75void ThreadingInit();
70 76