summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-01-14 16:36:10 -0800
committerbunnei <bunneidev@gmail.com>2022-01-14 16:44:14 -0800
commitf499c8177e661b2fadacb28aebb106e4b16c7ab1 (patch)
treeef0fb41e55a1f453f0e19ec8a122630a5d77cb4f /src/input_common/drivers/mouse.cpp
parentd8b3f665db753e526aa06db5314fb34f0d3e367f (diff)
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/input_common/drivers/mouse.cpp')
0 files changed, 0 insertions, 0 deletions