diff options
| author | 2019-03-16 22:12:40 -0400 | |
|---|---|---|
| committer | 2019-03-16 22:12:40 -0400 | |
| commit | ed7a1e144357be3620b437d6e762c89e392cd887 (patch) | |
| tree | 56ae6c60c1b20b3cfb0b8085d4c5044075ee0152 /src | |
| 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.gz yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.tar.xz yuzu-ed7a1e144357be3620b437d6e762c89e392cd887.zip | |
Merge pull request #2245 from lioncash/unused-def
kernel/thread: Actually remove the definition of ExitCurrentThread()
Diffstat (limited to 'src')
| -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() { | |||
| 68 | owner_process->FreeTLSSlot(tls_address); | 68 | owner_process->FreeTLSSlot(tls_address); |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | void ExitCurrentThread() { | ||
| 72 | Thread* thread = GetCurrentThread(); | ||
| 73 | thread->Stop(); | ||
| 74 | Core::System::GetInstance().CurrentScheduler().RemoveThread(thread); | ||
| 75 | } | ||
| 76 | |||
| 77 | void Thread::WakeAfterDelay(s64 nanoseconds) { | 71 | void 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) |