Browse Source

kernel/thread: Actually remove the definition of ExitCurrentThread()

This was intended to be removed in
0032bede5a, but I guess I forgot to
actually save the file like a dingus.
nce_cpp
Lioncash 7 years ago
parent
commit
6e56eb5205
  1. 6
      src/core/hle/kernel/thread.cpp

6
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)

Loading…
Cancel
Save