diff options
Diffstat (limited to 'src/core/hle/kernel/scheduler.h')
| -rw-r--r-- | src/core/hle/kernel/scheduler.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/kernel/scheduler.h b/src/core/hle/kernel/scheduler.h index 311849dfb..3c5c21346 100644 --- a/src/core/hle/kernel/scheduler.h +++ b/src/core/hle/kernel/scheduler.h | |||
| @@ -28,13 +28,13 @@ public: | |||
| 28 | ~GlobalScheduler(); | 28 | ~GlobalScheduler(); |
| 29 | 29 | ||
| 30 | /// Adds a new thread to the scheduler | 30 | /// Adds a new thread to the scheduler |
| 31 | void AddThread(SharedPtr<Thread> thread); | 31 | void AddThread(std::shared_ptr<Thread> thread); |
| 32 | 32 | ||
| 33 | /// Removes a thread from the scheduler | 33 | /// Removes a thread from the scheduler |
| 34 | void RemoveThread(const Thread* thread); | 34 | void RemoveThread(std::shared_ptr<Thread> thread); |
| 35 | 35 | ||
| 36 | /// Returns a list of all threads managed by the scheduler | 36 | /// Returns a list of all threads managed by the scheduler |
| 37 | const std::vector<SharedPtr<Thread>>& GetThreadList() const { | 37 | const std::vector<std::shared_ptr<Thread>>& GetThreadList() const { |
| 38 | return thread_list; | 38 | return thread_list; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| @@ -157,7 +157,7 @@ private: | |||
| 157 | std::array<u32, NUM_CPU_CORES> preemption_priorities = {59, 59, 59, 62}; | 157 | std::array<u32, NUM_CPU_CORES> preemption_priorities = {59, 59, 59, 62}; |
| 158 | 158 | ||
| 159 | /// Lists all thread ids that aren't deleted/etc. | 159 | /// Lists all thread ids that aren't deleted/etc. |
| 160 | std::vector<SharedPtr<Thread>> thread_list; | 160 | std::vector<std::shared_ptr<Thread>> thread_list; |
| 161 | Core::System& system; | 161 | Core::System& system; |
| 162 | }; | 162 | }; |
| 163 | 163 | ||
| @@ -213,8 +213,8 @@ private: | |||
| 213 | */ | 213 | */ |
| 214 | void UpdateLastContextSwitchTime(Thread* thread, Process* process); | 214 | void UpdateLastContextSwitchTime(Thread* thread, Process* process); |
| 215 | 215 | ||
| 216 | SharedPtr<Thread> current_thread = nullptr; | 216 | std::shared_ptr<Thread> current_thread = nullptr; |
| 217 | SharedPtr<Thread> selected_thread = nullptr; | 217 | std::shared_ptr<Thread> selected_thread = nullptr; |
| 218 | 218 | ||
| 219 | Core::System& system; | 219 | Core::System& system; |
| 220 | Core::ARM_Interface& cpu_core; | 220 | Core::ARM_Interface& cpu_core; |