summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-20 21:00:10 -0400
committerGravatar bunnei2014-05-20 21:00:10 -0400
commitbed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9 (patch)
treef2559f0855d1deff3324032639ed96ec7600e37a /src/core/hle/kernel/thread.h
parentthread: moved threading calls to the Kernel namespace (diff)
downloadyuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.gz
yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.tar.xz
yuzu-bed4e920fa17c6ab1e1cfde1f3ee81d0ca4aaff9.zip
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.h3
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);
31/// Reschedules to the next available thread (call after current thread is suspended) 31/// Reschedules to the next available thread (call after current thread is suspended)
32void Reschedule(const char* reason); 32void Reschedule(const char* reason);
33 33
34/// Resumes a thread from waiting by marking it as "ready"
35void ResumeThreadFromWait(Handle handle);
36
34/// Gets the current thread 37/// Gets the current thread
35Handle GetCurrentThread(); 38Handle GetCurrentThread();
36 39