diff options
| author | Behunin <l3ehunin@gmail.com> | 2023-02-11 09:28:07 -0700 |
|---|---|---|
| committer | Behunin <l3ehunin@gmail.com> | 2023-03-03 18:20:56 -0700 |
| commit | 44518b225cfeeeaab182592e7751874c46d18b82 (patch) | |
| tree | 7c099f639daf36a9c55750a75956d3ab0b27f2b0 /src/video_core/gpu_thread.h | |
| parent | 1f98634371838cc94d01613497660937f70ff78b (diff) | |
gpu_thread: Use bounded queue
Diffstat (limited to 'src/video_core/gpu_thread.h')
| -rw-r--r-- | src/video_core/gpu_thread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.h index 90bcb5958..43940bd6d 100644 --- a/src/video_core/gpu_thread.h +++ b/src/video_core/gpu_thread.h @@ -10,8 +10,8 @@ #include <thread> #include <variant> +#include "common/bounded_threadsafe_queue.h" #include "common/polyfill_thread.h" -#include "common/threadsafe_queue.h" #include "video_core/framebuffer_config.h" namespace Tegra { @@ -97,7 +97,7 @@ struct CommandDataContainer { /// Struct used to synchronize the GPU thread struct SynchState final { - using CommandQueue = Common::MPSCQueue<CommandDataContainer, true>; + using CommandQueue = Common::MPSCQueue<CommandDataContainer>; std::mutex write_lock; CommandQueue queue; u64 last_fence{}; |
