diff options
| author | 2016-12-17 14:34:48 -0500 | |
|---|---|---|
| committer | 2016-12-17 14:34:48 -0500 | |
| commit | 20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab (patch) | |
| tree | 61df2f8ed57ff935c1ac018a64f86d683df45c1e /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #2335 from yuriks/shader-refactor (diff) | |
| parent | Thread: remove the thread from the thread list when exiting (diff) | |
| download | yuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.tar.gz yuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.tar.xz yuzu-20b832cfc1cb7fca6dd59a4af2f2c95e3c5eaaab.zip | |
Merge pull request #2345 from wwylele/no-zombie-thread
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 238359fc5..d4fefc573 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 | |||
| 253 | void WaitCurrentThread_ArbitrateAddress(VAddr wait_address); | 253 | void WaitCurrentThread_ArbitrateAddress(VAddr wait_address); |
| 254 | 254 | ||
| 255 | /** | 255 | /** |
| 256 | * Stops the current thread and removes it from the thread_list | ||
| 257 | */ | ||
| 258 | void ExitCurrentThread(); | ||
| 259 | |||
| 260 | /** | ||
| 256 | * Initialize threading | 261 | * Initialize threading |
| 257 | */ | 262 | */ |
| 258 | void ThreadingInit(); | 263 | void ThreadingInit(); |