diff options
| author | 2018-02-18 15:17:16 -0500 | |
|---|---|---|
| committer | 2018-02-18 15:17:16 -0500 | |
| commit | ac81c02ed9401b137e83bece2edd6dee8d0a0af2 (patch) | |
| tree | f849c805fdb9ac756ece2e2f72d6009c58676bd6 /src/core/hle/kernel/thread.h | |
| parent | kernel: Add Scheduler, which encapsulates the scheduling loading from Thread ... (diff) | |
| download | yuzu-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.h | 15 |
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 | */ | ||
| 255 | bool HaveReadyThreads(); | ||
| 256 | |||
| 257 | /** | ||
| 258 | * Reschedules to the next available thread (call after current thread is suspended) | ||
| 259 | */ | ||
| 260 | void Reschedule(); | ||
| 261 | |||
| 262 | /** | ||
| 263 | * Gets the current thread | 253 | * Gets the current thread |
| 264 | */ | 254 | */ |
| 265 | Thread* GetCurrentThread(); | 255 | Thread* GetCurrentThread(); |
| @@ -290,9 +280,4 @@ void ThreadingInit(); | |||
| 290 | */ | 280 | */ |
| 291 | void ThreadingShutdown(); | 281 | void ThreadingShutdown(); |
| 292 | 282 | ||
| 293 | /** | ||
| 294 | * Get a const reference to the thread list for debug use | ||
| 295 | */ | ||
| 296 | const std::vector<SharedPtr<Thread>>& GetThreadList(); | ||
| 297 | |||
| 298 | } // namespace Kernel | 283 | } // namespace Kernel |