ameerj 5e746da981 kernel: Refactor thread_local variable usage
On MSVC at least, there seems to be a non-trivial overhead to calling GetHostThreadId().

This slightly reworks the host_thread_id variable to reduce some of the complexity around its usage, along with some small refactors around current_thread and dummy thread
2023-02-10 20:43:06 -05:00
..
2023-02-01 17:18:21 -05:00
2023-01-29 17:49:42 -07:00
2023-01-29 22:08:28 -05:00
2022-11-09 19:05:08 -05:00
2023-01-22 13:17:29 -05:00
2022-11-03 21:17:06 -07:00
2022-10-12 20:29:29 -04:00
2022-12-18 20:21:24 -05:00
2022-10-19 16:31:12 -04:00
2023-01-22 13:17:29 -05:00
2023-01-29 17:49:42 -07:00
2023-01-22 13:17:29 -05:00
2022-11-09 19:05:08 -05:00
2022-11-09 19:05:08 -05:00
2023-01-29 17:49:42 -07:00
2022-10-31 17:45:46 -04:00
2022-11-09 19:05:08 -05:00
2023-01-22 13:17:29 -05:00
2023-01-29 17:49:42 -07:00
2022-12-18 20:21:24 -05:00
2023-01-29 17:49:42 -07:00
2022-12-18 16:37:19 -05:00
2023-02-01 17:18:21 -05:00
2022-11-09 16:58:49 -05:00
2023-02-01 17:18:21 -05:00
2023-01-29 22:08:28 -05:00