diff options
| author | wwylele <wwylele@gmail.com> | 2016-12-17 13:08:38 +0200 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2016-12-17 19:23:52 +0200 |
| commit | c62bc4e61630469bd608b2ceb1f79250d326cd86 (patch) | |
| tree | 61df2f8ed57ff935c1ac018a64f86d683df45c1e /src/core/hle/kernel/thread.h | |
| parent | 5095e23921106aac11157b6819cd413da10eb8a3 (diff) | |
Thread: remove the thread from the thread list when exiting
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 238359fc57..d4fefc5730 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -253,6 +253,11 @@ void WaitCurrentThread_WaitSynchronization(std::vector<SharedPtr<WaitObject>> wa void WaitCurrentThread_ArbitrateAddress(VAddr wait_address); /** + * Stops the current thread and removes it from the thread_list + */ +void ExitCurrentThread(); + +/** * Initialize threading */ void ThreadingInit(); |
