]> git.seodisparate.com - UDPConnection/commit
Replace TSLQueue with std::deque where possible
authorStephen Seo <seo.disparate@gmail.com>
Wed, 8 Jan 2020 10:55:12 +0000 (19:55 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 8 Jan 2020 10:55:12 +0000 (19:55 +0900)
commit4c48dbb0cf65366ccfca1d17652cc43c8cce5dfa
tree654d86a834ad064b18f7d30463d6f30fe9122de3
parente66e6c7b74eb229ff31b44fb7ad938fce214f3aa
Replace TSLQueue with std::deque where possible

Also added std::mutex for each new std::deque. cSendPkts is left as a
TSLQueue because it needs to support fast removal from the middle of the
data structure (mainly because the queued packets per ConnectionData has
an imposed limit of packets to hold).
src/UDPC_Defines.hpp
src/UDPConnection.cpp