mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
thread: added declaration for __KernelReschedule to be used by syscall module
This commit is contained in:
parent
29930ac110
commit
f5a119a367
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ Handle __KernelCreateThread(const char *name, u32 entry_point, s32 priority,
|
||||||
/// Sets up the primary application thread
|
/// Sets up the primary application thread
|
||||||
Handle __KernelSetupMainThread(s32 priority, int stack_size=KERNEL_DEFAULT_STACK_SIZE);
|
Handle __KernelSetupMainThread(s32 priority, int stack_size=KERNEL_DEFAULT_STACK_SIZE);
|
||||||
|
|
||||||
|
/// Reschedules to the next available thread (call after current thread is suspended)
|
||||||
|
void __KernelReschedule(const char *reason);
|
||||||
|
|
||||||
void __KernelThreadingInit();
|
void __KernelThreadingInit();
|
||||||
void __KernelThreadingShutdown();
|
void __KernelThreadingShutdown();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue