diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-10 20:43:06 -0500 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2023-02-10 20:43:06 -0500 |
commit | 5e746da9817f9fee8f0d182c6fcc766ccf816017 (patch) | |
tree | c93cc336051b18df0bf194ce7d787ddfda437e0f /src/web_service/web_backend.cpp | |
parent | 7bad3a7e5ef82b5514c9e6010b4c43dfefb6c316 (diff) |
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
Diffstat (limited to 'src/web_service/web_backend.cpp')
0 files changed, 0 insertions, 0 deletions