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-03-21 14:45:02 -07:00
2021-11-03 21:42:57 -04:00
2021-12-05 15:04:08 -05:00
2019-03-20 13:07:04 -04:00
2021-11-03 21:42:57 -04:00
2021-12-30 15:50:45 -08:00
2021-05-16 03:43:16 -04:00
2021-11-03 21:42:57 -04:00
2021-10-07 13:32:36 -04:00
2021-12-06 16:39:18 -08:00
2021-06-02 00:39:27 -04:00
2021-06-24 09:27:40 -07:00
2021-02-18 16:16:25 -08:00
2021-02-04 15:35:46 -05:00
2021-10-01 20:48:49 -04:00
2021-11-03 21:42:57 -04:00
2021-07-20 18:54:55 -07:00
2021-12-06 16:39:16 -08:00
2021-12-05 15:04:08 -05:00
2021-11-03 21:42:57 -04:00
2021-06-09 22:36:42 -07:00
2021-06-04 19:26:48 -07:00
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-12-05 19:00:29 -05:00
2021-12-07 16:58:23 -05:00
2021-12-06 16:39:18 -08:00
2021-12-06 16:39:17 -08:00
2021-05-08 12:33:26 -04:00
2021-05-29 02:58:32 -04:00
2021-12-06 16:39:16 -08:00
2021-12-06 16:39:16 -08:00
2021-12-30 15:50:45 -08:00
2021-12-30 15:50:45 -08:00
2021-12-06 16:39:18 -08:00
2021-12-06 16:39:18 -08:00
2021-12-06 16:39:18 -08:00
2021-12-06 16:39:17 -08:00
2021-05-16 03:43:16 -04:00
2021-05-16 03:43:16 -04:00
2021-05-16 03:43:16 -04:00
2022-01-08 03:20:57 -08:00
2021-06-24 09:27:40 -07:00
2021-03-21 14:45:13 -07:00
2021-06-24 09:27:40 -07:00
2021-06-02 00:39:27 -04:00
2021-11-03 21:42:57 -04:00
2021-03-23 18:42:04 -07:00
2021-05-08 12:33:26 -04:00
2021-02-18 16:16:24 -08:00
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-12-05 15:04:08 -05:00
2022-01-11 16:28:11 -08:00
2022-01-11 16:28:11 -08:00
2021-06-02 00:39:27 -04:00
2021-11-03 21:42:57 -04:00
2021-09-24 15:52:05 -04:00
2022-01-14 16:44:14 -08:00
2022-01-14 16:44:14 -08:00
2021-06-02 00:39:27 -04:00
2021-06-06 15:39:11 -07:00
2021-06-18 07:27:48 -04:00
2021-05-29 02:58:32 -04:00
2021-12-06 16:39:17 -08:00
2021-12-30 15:50:45 -08:00
2021-12-06 16:39:16 -08:00
2021-11-03 21:42:58 -04:00
2021-05-05 16:40:52 -07:00
2021-12-06 16:39:17 -08:00
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-12-06 16:39:17 -08:00
2021-11-03 21:42:57 -04:00
2021-11-03 21:42:57 -04:00
2021-06-04 19:26:48 -07:00
2021-11-03 21:42:57 -04:00
2021-06-02 00:39:27 -04:00
2021-11-03 21:42:57 -04:00
2021-05-28 17:42:41 -07:00
2021-02-18 16:16:24 -08:00
2021-03-21 14:45:02 -07:00
2021-12-06 16:39:18 -08:00
2021-12-06 16:39:17 -08:00
2021-03-21 14:45:02 -07:00
2021-12-13 16:49:01 +03:00
2021-12-06 16:39:18 -08:00
2022-01-14 16:44:14 -08:00
2022-01-14 16:44:14 -08:00
2021-11-03 21:42:57 -04:00
2021-06-02 00:39:27 -04:00
2021-11-03 21:42:57 -04:00
2022-01-14 16:43:59 -08:00
2022-01-14 16:43:59 -08:00
2022-01-14 16:43:59 -08:00
2021-06-06 15:39:11 -07:00
2021-05-29 02:58:32 -04:00
2022-01-14 16:44:14 -08:00
2022-01-14 16:44:14 -08:00
2021-02-18 16:16:25 -08:00
2022-01-11 16:28:11 -08:00
2021-11-03 21:42:57 -04:00
2020-04-17 00:59:30 -04:00
2021-06-02 00:39:27 -04:00
2021-06-02 00:39:27 -04:00
2021-12-06 16:39:18 -08:00
2021-05-05 16:40:51 -07:00
2021-11-03 21:42:57 -04:00
2021-12-28 01:25:20 -08:00
2021-05-05 16:40:52 -07:00
2022-01-08 03:20:57 -08:00
2021-12-23 01:10:36 -08:00
2022-01-11 16:28:11 -08:00
2020-04-17 00:59:28 -04:00
2021-12-06 16:39:17 -08:00
2021-11-03 21:42:57 -04:00