Browse Source
Merge pull request #2245 from lioncash/unused-def
kernel/thread: Actually remove the definition of ExitCurrentThread()
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
6 deletions
-
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) |
|
|
|
|