diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-01 22:12:54 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-01 22:12:54 -0400 |
commit | 3fb31fbc57fd1d537db79af898ef26c92b0e0867 (patch) | |
tree | a4ce54e66ae91c66c0ce55ab32468b3b8ec4d6ab /src/core/hle/kernel/thread.h | |
parent | 10447d1f4831b495d7bef7711681ddd548f847a6 (diff) |
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.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 9628f165..094c8d43 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -65,6 +65,12 @@ Handle GetCurrentThreadHandle(); /// Put current thread in a wait state - on WaitSynchronization void WaitThread_Synchronization(); +/// Get the priority of the thread specified by handle +u32 GetThreadPriority(const Handle handle); + +/// Set the priority of the thread specified by handle +Result SetThreadPriority(Handle handle, s32 priority); + /// Initialize threading void ThreadingInit(); |