kernel/thread: Move thread exiting logic from ExitCurrentThread to svcExitThread

Puts the operation on global state in the same places as the rest of the
svc calls.
This commit is contained in:
Lioncash 2019-03-15 23:38:51 -04:00
parent c892cf01fa
commit 51d7f6bffc
2 changed files with 7 additions and 8 deletions

View file

@ -463,9 +463,4 @@ private:
*/
Thread* GetCurrentThread();
/**
* Stops the current thread and removes it from the thread_list
*/
void ExitCurrentThread();
} // namespace Kernel