diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-17 03:12:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 03:12:40 +0100 |
commit | ed7a1e144357be3620b437d6e762c89e392cd887 (patch) | |
tree | 56ae6c60c1b20b3cfb0b8085d4c5044075ee0152 | |
parent | Merge pull request #2244 from bunnei/gpu-mem-refactor (diff) | |
parent | kernel/thread: Actually remove the definition of ExitCurrentThread() (diff) | |
download | yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.gz yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.bz2 yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.lz yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.xz yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.zst yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.zip |
-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() { 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) |