Compare commits

..

6 commits

Author SHA1 Message Date
77031b6edc Tweak compare_exchange_weak(...) in spin-lock 2024-01-01 12:25:40 +09:00
db7331685b Fix invalid use of mutex in TSLQueue
Mutex was removed in favor of the custom SharedSpinLock.
2024-01-01 12:25:40 +09:00
d76d1197ce Don't fail on "try" fns if failed to get spinLock
In SharedSpinLock: Only fail on "try" fns after spinLock was acquired
and condition is not met.
2024-01-01 12:25:40 +09:00
2675f6918b Refactor shared-spin-lock to use atomic "spinLock" 2024-01-01 12:25:40 +09:00
c47a20a10b Minor refactorings 2024-01-01 12:25:40 +09:00
a3e0f941fc 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.
2024-01-01 12:25:40 +09:00

View file

@ -1,9 +1,6 @@
/*! /*!
* \mainpage UDPConnection * \mainpage UDPConnection
* \ref UDPC.h * \ref UDPC.h
*
* To use this library, it must be compiled. Only the \ref UDPC.h header is
* necessary as UDPC_Defines.hpp is only meant to be used internally by UDPC.
*/ */
/*! /*!