summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-03-16 00:51:23 -0400
committerGravatar Lioncash2019-03-16 00:51:44 -0400
commit99f982dce2153f1504ebb77dce1f721e1a03d412 (patch)
tree4bfaeadc6940f0022c6d8444b10672162a65291f /src/core/hle/kernel/thread.cpp
parentMerge pull request #2241 from lioncash/compile-flags (diff)
downloadyuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.gz
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.xz
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.zip
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.
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 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
71void ExitCurrentThread() {
72 Thread* thread = GetCurrentThread();
73 thread->Stop();
74 Core::System::GetInstance().CurrentScheduler().RemoveThread(thread);
75}
76
77void Thread::WakeAfterDelay(s64 nanoseconds) { 71void 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)