mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Rename Common::FifoQueue to Common::SPSCQueue
Since all queues are FIFO data structures, the name wasn't informative as to why you'd use it over a normal queue. I originally thought it had something to do with the hardware graphics FIFO. This renames it using the common acronym SPSC, which stands for single-producer single-consumer, and is most commonly used to talk about lock-free data structures, both of which this is.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
#include <wx/frame.h>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/FifoQueue.h"
|
||||
#include "Common/SPSCQueue.h"
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "Core/NetPlayServer.h"
|
||||
@ -161,7 +161,7 @@ private:
|
||||
std::string m_desync_player;
|
||||
|
||||
std::vector<int> m_playerids;
|
||||
Common::FifoQueue<std::string> m_chat_msgs;
|
||||
Common::SPSCQueue<std::string> m_chat_msgs;
|
||||
|
||||
const GameListCtrl* const m_game_list;
|
||||
|
||||
|
Reference in New Issue
Block a user