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 | 8467bf5224ac4896b5d7dab00b57bb696a0affce (patch) | |
| tree | c93cc336051b18df0bf194ce7d787ddfda437e0f /src/video_core/buffer_cache/buffer_cache.h | |
| parent | 341d30d869195ada635e8d4065d474d786b11459 (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/video_core/buffer_cache/buffer_cache.h')
0 files changed, 0 insertions, 0 deletions
