3 ms·
Yes, in addition to the atomics and memory ordering primitives added in the C++11 standard [1], I find the Boost lock-free structures quite reasonable [2]. (Yes
by scott_s 6y ago
Yes, in addition to the atomics and memory ordering primitives added in the C++11 standard [1], I find the Boost lock-free structures quite reasonable [2]. (Yes, I'm aware some have an automatic aversion to Boost. But it is well-designed and I believe is a header-only library.)
[1] https://en.cppreference.com/w/cpp/atomic https://en.cppreference.com/w/cpp/atomic
[2] https://www.boost.org/doc/libs/1_74_0/doc/html/lockfree.html https://www.boost.org/doc/libs/1_74_0/doc/html/lockfree.html