diff options
author | bunnei <bunneidev@gmail.com> | 2014-07-07 04:48:19 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-07-09 00:46:15 +0200 |
commit | ba840d3200183e30a5d85acf494d2a6bbbb3a386 (patch) | |
tree | db48fcff1aa64ce648af51934a0c226646d2c3be /src/core/hle/kernel/thread.h | |
parent | function_wrappers: Fixed incorrect wrapper, added another. (diff) | |
download | yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar.gz yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar.bz2 yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar.lz yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar.xz yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.tar.zst yuzu-ba840d3200183e30a5d85acf494d2a6bbbb3a386.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r-- | src/core/hle/kernel/thread.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 04914ba90..f2bfdfa1a 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -39,6 +39,7 @@ enum WaitType { WAITTYPE_VBLANK, WAITTYPE_MUTEX, WAITTYPE_SYNCH, + WAITTYPE_ARB, }; namespace Kernel { @@ -59,6 +60,12 @@ void StopThread(Handle thread, const char* reason); /// Resumes a thread from waiting by marking it as "ready" void ResumeThreadFromWait(Handle handle); +/// Arbitrate the highest priority thread that is waiting +Handle ArbitrateHighestPriorityThread(u32 arbiter, u32 address); + +/// Arbitrate all threads currently waiting... +void ArbitrateAllThreads(u32 arbiter, u32 address); + /// Gets the current thread handle Handle GetCurrentThreadHandle(); |