From 99f982dce2153f1504ebb77dce1f721e1a03d412 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 16 Mar 2019 00:51:23 -0400 Subject: [PATCH] kernel/thread: Actually remove the definition of ExitCurrentThread() This was intended to be removed in 51d7f6bffcc0498a47abc7de27bf0906fc523dae, but I guess I forgot to actually save the file like a dingus. --- src/core/hle/kernel/thread.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 2e712c9cb6..89f180bd90 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -68,12 +68,6 @@ void Thread::Stop() { owner_process->FreeTLSSlot(tls_address); } -void ExitCurrentThread() { - Thread* thread = GetCurrentThread(); - thread->Stop(); - Core::System::GetInstance().CurrentScheduler().RemoveThread(thread); -} - void Thread::WakeAfterDelay(s64 nanoseconds) { // Don't schedule a wakeup if the thread wants to wait forever if (nanoseconds == -1)