diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-21 03:00:10 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-21 03:00:10 +0200 |
commit | bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9 (patch) | |
tree | f2559f0855d1deff3324032639ed96ec7600e37a /src/core/hle/kernel/thread.h | |
parent | thread: moved threading calls to the Kernel namespace (diff) | |
download | yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.gz yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.bz2 yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.lz yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.xz yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.zst yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 2c0199273..bb48ddc79 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -31,6 +31,9 @@ Handle SetupMainThread(s32 priority, int stack_size=Kernel::DEFAULT_STACK_SIZE); /// Reschedules to the next available thread (call after current thread is suspended) void Reschedule(const char* reason); +/// Resumes a thread from waiting by marking it as "ready" +void ResumeThreadFromWait(Handle handle); + /// Gets the current thread Handle GetCurrentThread(); |