From f5a119a3678fb8bc70a846a166a0993fe4a98c46 Mon Sep 17 00:00:00 2001
From: bunnei <ericbunnie@gmail.com>
Date: Mon, 19 May 2014 22:19:48 -0400
Subject: [PATCH] thread: added declaration for __KernelReschedule to be used
 by syscall module

---
 src/core/hle/kernel/thread.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 0d0f465000..eca84c7180 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -28,6 +28,9 @@ Handle __KernelCreateThread(const char *name, u32 entry_point, s32 priority,
 /// Sets up the primary application thread
 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 __KernelThreadingShutdown();
 
-- 
GitLab