summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-20 18:13:25 -0400
committerGravatar bunnei2014-05-20 18:13:25 -0400
commit44336329eddd7dbe1f76144e9a1e95e5f76ed372 (patch)
tree49c103d52af50fe6ef451324f1c8aae6363d0468 /src/core/hle/kernel/thread.h
parentapt: changed stubbed handle to be something other than 0xDEADBEEF (used as a ... (diff)
downloadyuzu-44336329eddd7dbe1f76144e9a1e95e5f76ed372.tar.gz
yuzu-44336329eddd7dbe1f76144e9a1e95e5f76ed372.tar.xz
yuzu-44336329eddd7dbe1f76144e9a1e95e5f76ed372.zip
- created a Kernel namespace
- cleaned up Kernel code a bit (moved stuff into namespace, fixed whitespace issues) - added handle types for all different CTROS handles
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index eca84c718..207a5227b 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -23,10 +23,10 @@ enum ThreadProcessorId {
23 23
24/// Creates a new thread - wrapper for external user 24/// Creates a new thread - wrapper for external user
25Handle __KernelCreateThread(const char *name, u32 entry_point, s32 priority, 25Handle __KernelCreateThread(const char *name, u32 entry_point, s32 priority,
26 s32 processor_id, u32 stack_top, int stack_size=KERNEL_DEFAULT_STACK_SIZE); 26 s32 processor_id, u32 stack_top, int stack_size=Kernel::DEFAULT_STACK_SIZE);
27 27
28/// Sets up the primary application thread 28/// Sets up the primary application thread
29Handle __KernelSetupMainThread(s32 priority, int stack_size=KERNEL_DEFAULT_STACK_SIZE); 29Handle __KernelSetupMainThread(s32 priority, int stack_size=Kernel::DEFAULT_STACK_SIZE);
30 30
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 __KernelReschedule(const char *reason); 32void __KernelReschedule(const char *reason);