summaryrefslogtreecommitdiff
path: root/src/shader_recompiler/frontend/maxwell/control_flow.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2022-01-14 16:36:10 -0800
committerGravatar bunnei2022-01-14 16:44:14 -0800
commitf499c8177e661b2fadacb28aebb106e4b16c7ab1 (patch)
treeef0fb41e55a1f453f0e19ec8a122630a5d77cb4f /src/shader_recompiler/frontend/maxwell/control_flow.cpp
parentcore: hle: kernel: KProcess: Integrate with KWorkerTask and add unimplemented... (diff)
downloadyuzu-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/maxwell/control_flow.cpp')
0 files changed, 0 insertions, 0 deletions