bunnei f499c8177e 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.
2022-01-14 16:44:14 -08:00
..
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-09-03 19:05:41 -07:00
2021-06-11 17:27:06 +02:00
2021-06-11 17:27:06 +02:00
2021-08-05 20:29:43 +00:00
2021-11-03 21:42:57 -04:00