19 Jun
2017
19 Jun
'17
6:51 a.m.
On Sat, Jun 17, 2017 at 10:49 PM, Peter Dimov via Boost
I made it a bit more complex:
Hi Peter, Wow, that was fast. Thanks!
The reason it was so simple was because it was using the already existing atomic functions. And no, it's not lock-free. Lock-freedom requires significantly more complexity (and a double-width CAS).
Why not improve the existing functions and keep using those? -- Olaf