summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-05-17 05:48:15 +0200
committerbunnei <ericbunnie@gmail.com>2014-05-17 05:48:15 +0200
commit7cdb70505944b2ed456d7f5376594e05f3b3357f (patch)
tree34d5d1a1f6a449cb90caf9589b3e029b76ccc1e3 /src/core/hle/kernel/thread.h
parentadded stubbed GetProcSemaphore - does nothing but avoids an exception (diff)
downloadyuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.gz
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.bz2
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.lz
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.xz
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.zst
yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index cca4e85fd..add6107d7 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -9,8 +9,12 @@
class Thread;
+/// Creates a new thread
+Thread *__KernelCreateThread(Handle &handle, const char *name, u32 entry_point, s32 priority,
+ s32 processor_id, u32 stack_top, int stack_size=KERNEL_DEFAULT_STACK_SIZE);
+
/// Sets up the primary application thread
-Handle __KernelSetupMainThread(s32 priority, int stack_size=0x4000);
+Handle __KernelSetupMainThread(s32 priority, int stack_size=KERNEL_DEFAULT_STACK_SIZE);
void __KernelThreadingInit();
void __KernelThreadingShutdown();