1
0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2025-04-27 05:10:07 +00:00

Merge pull request from lioncash/unused-def

kernel/thread: Actually remove the definition of ExitCurrentThread()
This commit is contained in:
bunnei 2019-03-16 22:12:40 -04:00 committed by GitHub
commit ed7a1e1443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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