svc: added GetThreadPriority and SetThreadPriority, added (incomplete) DuplicateHandle support
This commit is contained in:
parent
10447d1f48
commit
3fb31fbc57
3 changed files with 77 additions and 3 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue