diff options
| author | 2014-05-16 23:48:15 -0400 | |
|---|---|---|
| committer | 2014-05-16 23:48:15 -0400 | |
| commit | 7cdb70505944b2ed456d7f5376594e05f3b3357f (patch) | |
| tree | 34d5d1a1f6a449cb90caf9589b3e029b76ccc1e3 /src/core/hle/kernel/thread.h | |
| parent | added stubbed GetProcSemaphore - does nothing but avoids an exception (diff) | |
| download | yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.gz yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.tar.xz yuzu-7cdb70505944b2ed456d7f5376594e05f3b3357f.zip | |
- replaced KERNELOBJECT_MAX_NAME_LENGTH with KERNEL_MAX_NAME_LENGTH
- added KERNEL_DEFAULT_STACK_SIZE definition (0x4000)
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 6 |
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 @@ | |||
| 9 | 9 | ||
| 10 | class Thread; | 10 | class Thread; |
| 11 | 11 | ||
| 12 | /// Creates a new thread | ||
| 13 | Thread *__KernelCreateThread(Handle &handle, const char *name, u32 entry_point, s32 priority, | ||
| 14 | s32 processor_id, u32 stack_top, int stack_size=KERNEL_DEFAULT_STACK_SIZE); | ||
| 15 | |||
| 12 | /// Sets up the primary application thread | 16 | /// Sets up the primary application thread |
| 13 | Handle __KernelSetupMainThread(s32 priority, int stack_size=0x4000); | 17 | Handle __KernelSetupMainThread(s32 priority, int stack_size=KERNEL_DEFAULT_STACK_SIZE); |
| 14 | 18 | ||
| 15 | void __KernelThreadingInit(); | 19 | void __KernelThreadingInit(); |
| 16 | void __KernelThreadingShutdown(); | 20 | void __KernelThreadingShutdown(); |