summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-16 05:51:23 +0100
committerLioncash <mathew1800@gmail.com>2019-03-16 05:51:44 +0100
commit99f982dce2153f1504ebb77dce1f721e1a03d412 (patch)
tree4bfaeadc6940f0022c6d8444b10672162a65291f
parentMerge pull request #2241 from lioncash/compile-flags (diff)
downloadyuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.gz
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.bz2
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.lz
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.xz
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.tar.zst
yuzu-99f982dce2153f1504ebb77dce1f721e1a03d412.zip
-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() {
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)