diff options
| author | 2022-01-14 16:36:10 -0800 | |
|---|---|---|
| committer | 2022-01-14 16:44:14 -0800 | |
| commit | f499c8177e661b2fadacb28aebb106e4b16c7ab1 (patch) | |
| tree | ef0fb41e55a1f453f0e19ec8a122630a5d77cb4f /src/shader_recompiler/frontend/ir/patch.cpp | |
| parent | core: hle: kernel: KProcess: Integrate with KWorkerTask and add unimplemented... (diff) | |
| download | yuzu-f499c8177e661b2fadacb28aebb106e4b16c7ab1.tar.gz yuzu-f499c8177e661b2fadacb28aebb106e4b16c7ab1.tar.xz yuzu-f499c8177e661b2fadacb28aebb106e4b16c7ab1.zip | |
core: hle: kernel: KThread: Integrate with KWorkerTask and implement DoWorkerTaskImpl.
- This is used to terminate a thread asynchronously after it has been exited.
- This fixes a crash that can occur in Pokemon Sword/Shield because a thread is incorrectly closed on svcExitThread, then, the thread is destroyed on svcCloseHandle while it is still scheduled.
- Instead, we now wait for the thread to no longer be scheduled on all cores before destroying it from KWorkerTaskManager, which is accurate to HOS behavior.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/patch.cpp')
0 files changed, 0 insertions, 0 deletions