summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-02-19 17:23:05 -0500
committerGravatar GitHub2018-02-19 17:23:05 -0500
commit23fe6f5be33ecf329a95c6b0e5f7e4c75917cef9 (patch)
tree48ce770db1df193eba107183d52f03543c81f355 /src/core/hle/kernel/thread.h
parentMerge pull request #203 from Subv/ensure_save_data (diff)
parentscheduler: Cleanup based on PR feedback. (diff)
downloadyuzu-23fe6f5be33ecf329a95c6b0e5f7e4c75917cef9.tar.gz
yuzu-23fe6f5be33ecf329a95c6b0e5f7e4c75917cef9.tar.xz
yuzu-23fe6f5be33ecf329a95c6b0e5f7e4c75917cef9.zip
Merge pull request #202 from bunnei/scheduler-cleanup
Scheduler cleanup
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index bbffaf4cf..4fd2fc2f8 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -250,28 +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 * Arbitrate the highest priority thread that is waiting
264 * @param address The address for which waiting threads should be arbitrated
265 */
266Thread* ArbitrateHighestPriorityThread(VAddr address);
267
268/**
269 * Arbitrate all threads currently waiting.
270 * @param address The address for which waiting threads should be arbitrated
271 */
272void ArbitrateAllThreads(VAddr address);
273
274/**
275 * Gets the current thread 253 * Gets the current thread
276 */ 254 */
277Thread* GetCurrentThread(); 255Thread* GetCurrentThread();
@@ -302,9 +280,4 @@ void ThreadingInit();
302 */ 280 */
303void ThreadingShutdown(); 281void ThreadingShutdown();
304 282
305/**
306 * Get a const reference to the thread list for debug use
307 */
308const std::vector<SharedPtr<Thread>>& GetThreadList();
309
310} // namespace Kernel 283} // namespace Kernel