summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/scheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
-rw-r--r--src/core/hle/kernel/scheduler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h
index c63032b7d..8444afdbc 100644
--- a/src/core/hle/kernel/scheduler.h
+++ b/src/core/hle/kernel/scheduler.h
@@ -48,9 +48,15 @@ public:
48 /// Unschedules a thread that was already scheduled 48 /// Unschedules a thread that was already scheduled
49 void UnscheduleThread(Thread* thread, u32 priority); 49 void UnscheduleThread(Thread* thread, u32 priority);
50 50
51 /// Moves a thread to the back of the current priority queue
52 void RescheduleThread(Thread* thread, u32 priority);
53
51 /// Sets the priority of a thread in the scheduler 54 /// Sets the priority of a thread in the scheduler
52 void SetThreadPriority(Thread* thread, u32 priority); 55 void SetThreadPriority(Thread* thread, u32 priority);
53 56
57 /// Gets the next suggested thread for load balancing
58 Thread* GetNextSuggestedThread(u32 core);
59
54 /// Returns a list of all threads managed by the scheduler 60 /// Returns a list of all threads managed by the scheduler
55 const std::vector<SharedPtr<Thread>>& GetThreadList() const { 61 const std::vector<SharedPtr<Thread>>& GetThreadList() const {
56 return thread_list; 62 return thread_list;