mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 22:17:58 -05:00
Merge pull request #8460 from Morph1984/bounded-q
bounded_threadsafe_queue: Use constexpr capacity and mask
This commit is contained in:
@ -98,7 +98,7 @@ struct CommandDataContainer {
|
||||
struct SynchState final {
|
||||
using CommandQueue = Common::MPSCQueue<CommandDataContainer>;
|
||||
std::mutex write_lock;
|
||||
CommandQueue queue{512}; // size must be 2^n
|
||||
CommandQueue queue;
|
||||
u64 last_fence{};
|
||||
std::atomic<u64> signaled_fence{};
|
||||
std::condition_variable_any cv;
|
||||
|
Reference in New Issue
Block a user