diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 2e712c9cb..89f180bd9 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -68,12 +68,6 @@ void Thread::Stop() { | |||
| 68 | owner_process->FreeTLSSlot(tls_address); | 68 | owner_process->FreeTLSSlot(tls_address); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | void ExitCurrentThread() { | ||
| 72 | Thread* thread = GetCurrentThread(); | ||
| 73 | thread->Stop(); | ||
| 74 | Core::System::GetInstance().CurrentScheduler().RemoveThread(thread); | ||
| 75 | } | ||
| 76 | |||
| 77 | void Thread::WakeAfterDelay(s64 nanoseconds) { | 71 | void Thread::WakeAfterDelay(s64 nanoseconds) { |
| 78 | // Don't schedule a wakeup if the thread wants to wait forever | 72 | // Don't schedule a wakeup if the thread wants to wait forever |
| 79 | if (nanoseconds == -1) | 73 | if (nanoseconds == -1) |