Comment Comment by pclmulqdq Run a benchmark. With low contention, the lock will outperform. Atomics are very expensive assembly instructions.Fedor Pikus has a good talk on this at cppcon 2019. parent pclmulqdq 1 year ago
Fedor Pikus has a good talk on this at cppcon 2019.