aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-16 00:51:23 -0400
committerLioncash <mathew1800@gmail.com>2019-03-16 00:51:44 -0400
commit6e56eb5205f6f2c4b6f3b83217612a635543ffbd (patch)
tree4bfaeadc6940f0022c6d8444b10672162a65291f /src/core/hle/kernel/thread.cpp
parent43e9563fe0bbd15214d434eec0103d055fc14e0f (diff)
kernel/thread: Actually remove the definition of ExitCurrentThread()
This was intended to be removed in 0032bede5a880a44bffcb702eb8fe858c214dc39, but I guess I forgot to actually save the file like a dingus.
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp6
1 files changed, 0 insertions, 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)