From 5728e42634740463ba2da4758d817ad09a84dc60 Mon Sep 17 00:00:00 2001 From: wwylele Date: Sat, 17 Dec 2016 13:08:38 +0200 Subject: Thread: remove the thread from the thread list when exiting --- src/core/hle/kernel/thread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core/hle/kernel/thread.h') diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 238359fc5..d4fefc573 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -252,6 +252,11 @@ void WaitCurrentThread_WaitSynchronization(std::vector> wa */ void WaitCurrentThread_ArbitrateAddress(VAddr wait_address); +/** + * Stops the current thread and removes it from the thread_list + */ +void ExitCurrentThread(); + /** * Initialize threading */ -- cgit v1.2.3