mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
kernel/thread: Actually remove the definition of ExitCurrentThread()
This was intended to be removed in 51d7f6bffcc0498a47abc7de27bf0906fc523dae, but I guess I forgot to actually save the file like a dingus.
This commit is contained in:
parent
29c242721a
commit
99f982dce2
@ -68,12 +68,6 @@ void Thread::Stop() {
|
|||||||
owner_process->FreeTLSSlot(tls_address);
|
owner_process->FreeTLSSlot(tls_address);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ExitCurrentThread() {
|
|
||||||
Thread* thread = GetCurrentThread();
|
|
||||||
thread->Stop();
|
|
||||||
Core::System::GetInstance().CurrentScheduler().RemoveThread(thread);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Thread::WakeAfterDelay(s64 nanoseconds) {
|
void Thread::WakeAfterDelay(s64 nanoseconds) {
|
||||||
// Don't schedule a wakeup if the thread wants to wait forever
|
// Don't schedule a wakeup if the thread wants to wait forever
|
||||||
if (nanoseconds == -1)
|
if (nanoseconds == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user