diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-12 22:03:48 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-12 22:09:51 -0500 |
commit | f0bfb24c61ceb61b621ba38bcc1a1aa020a9d397 (patch) | |
tree | 9c66014b934179c03e93e3ae640326e7ad3a2a57 /src/core/core_timing.cpp | |
parent | c425a1a857c8833dbc18e81d7b03386ac8749fbc (diff) |
threadsafe_queue: Remove NeedSize template parameter
The necessity of this parameter is dubious at best, and in 2019 probably
offers completely negligible savings as opposed to just leaving this
enabled. This removes it and simplifies the overall interface.
Diffstat (limited to 'src/core/core_timing.cpp')
-rw-r--r-- | src/core/core_timing.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp index 2b7ca97664..0308030c55 100644 --- a/src/core/core_timing.cpp +++ b/src/core/core_timing.cpp @@ -54,10 +54,10 @@ static std::vector<Event> event_queue; static u64 event_fifo_id; // the queue for storing the events from other threads threadsafe until they will be added // to the event_queue by the emu thread -static Common::MPSCQueue<Event, false> ts_queue; +static Common::MPSCQueue<Event> ts_queue; // the queue for unscheduling the events from other threads threadsafe -static Common::MPSCQueue<std::pair<const EventType*, u64>, false> unschedule_queue; +static Common::MPSCQueue<std::pair<const EventType*, u64>> unschedule_queue; constexpr int MAX_SLICE_LENGTH = 20000; |