diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-20 21:00:10 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-20 21:00:10 -0400 |
commit | bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9 (patch) | |
tree | f2559f0855d1deff3324032639ed96ec7600e37a /src/core/hle/kernel/thread.h | |
parent | 75c6d2a8fa3547946227094af6c179e5ccba0e1e (diff) |
thread: exposed ResumeThreadFromWait function for use in other kernel modules
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-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 2c019927..bb48ddc7 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(); |