mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-12-19 17:55:12 -06:00
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