summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-02-18 15:17:16 -0500
committerGravatar bunnei2018-02-18 15:17:16 -0500
commitac81c02ed9401b137e83bece2edd6dee8d0a0af2 (patch)
treef849c805fdb9ac756ece2e2f72d6009c58676bd6 /src/core/hle/kernel/thread.h
parentkernel: Add Scheduler, which encapsulates the scheduling loading from Thread ... (diff)
downloadyuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.gz
yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.tar.xz
yuzu-ac81c02ed9401b137e83bece2edd6dee8d0a0af2.zip
kernel: Use Scheduler class for threading.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index aa80a51a9..4fd2fc2f8 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -250,16 +250,6 @@ SharedPtr<Thread> SetupMainThread(VAddr entry_point, u32 priority,
250 SharedPtr<Process> owner_process); 250 SharedPtr<Process> owner_process);
251 251
252/** 252/**
253 * Returns whether there are any threads that are ready to run.
254 */
255bool HaveReadyThreads();
256
257/**
258 * Reschedules to the next available thread (call after current thread is suspended)
259 */
260void Reschedule();
261
262/**
263 * Gets the current thread 253 * Gets the current thread
264 */ 254 */
265Thread* GetCurrentThread(); 255Thread* GetCurrentThread();
@@ -290,9 +280,4 @@ void ThreadingInit();
290 */ 280 */
291void ThreadingShutdown(); 281void ThreadingShutdown();
292 282
293/**
294 * Get a const reference to the thread list for debug use
295 */
296const std::vector<SharedPtr<Thread>>& GetThreadList();
297
298} // namespace Kernel 283} // namespace Kernel