]> git.seodisparate.com - UDPConnection/commit
Reland C++11 "shared_lock" with iter remove fix
authorStephen Seo <seo.disparate@gmail.com>
Sat, 22 Jul 2023 09:58:36 +0000 (18:58 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Fri, 12 Jan 2024 04:32:05 +0000 (13:32 +0900)
commit05087406b1daf056ea3bf64d7880a7d932619543
tree30297782027a21d652603b7809a48eadfb20f4db
parent02651c793eb848faf18751fdf40de0bcbb6db9f4
Reland C++11 "shared_lock" with iter remove fix

On iterator remove, the iterator will trade the read lock for a write
lock, and trade back for a read lock once the remove has been completed.
CMakeLists.txt
src/CXX11_shared_spin_lock.cpp [new file with mode: 0644]
src/CXX11_shared_spin_lock.hpp [new file with mode: 0644]
src/TSLQueue.hpp
src/test/TestTSLQueue.cpp